I'm trying to find a way to detect if a block of text only has URLs in it. Another way to say it would be to see if a block of text doesn't have any text besides what is in a URL.
We're getting a lot of spam but one tell tale of a spammer is they often only post links and no other text. So they'll post
http://link1.xyz http://link2.syx
and nothing else. Looking for a regex expression that could detect this. Using php as well.