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
Post a Comment