I have a string in Java not escaped which contains CSS, JavaScript and HTML.
I need to extract all the CSS from this string, so basically I need to search for everything that start for <style and finish for </style> and everything that start for <link and finish for >
Any suggestions?