You would use xpath to target the text content of an HTML element, and this sort of thing only works in uBlock Origin; I posted some links here, and ABP is still considering whether to support it: forum/viewtopic.php?t=48930
There's a buzzin' in my brain I really can't explain; I think about it before they make me go to bed.