I'm looking for a regular expression that detects whether or not a string is anything more than a bunch of HTML tags.
So, desired functionality is:
Input -> Output
"<html></html>" -> False
"<html>Hi</html>" -> True
"<a href='google.com'>Click Me</a>" -> True
"hello" -> True
"<bold><italics></bold></italics>" -> False
"" -> Don't care
Once upon a time I could have done this myself, but it's been too long.
Thanks in advance.
edit: I don't care if they are real HTML tags. Lets call anything inside <>'s a tag. Also don't care if a start tag matches up with an end tag.