You can't parse HTML with regex...
http://stackoverflow.com/questions/4683046/regular-expression-for-extracting-script-tags
...and if you do, someone will write some poem of poetic beauty quality:
http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags/1732454#1732454
No comments:
Post a Comment