Identify the elments

I have oneblacksquare and whit box, how to identify the difference and i want extract the text after the blacksquare box

Check the difference of the selector Class