java - How to find if String contains html data? -


How do I know if a string is HTML data or not? The user provides input through the web interface and it is quite possible that he could either use a simple text or HTML formatting.

You can use regular expressions for HTML tags.


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -