It should remove the comments in each code.That's easy. However, if your goal is to remove comments, and nothing else, you cannot do it with a simple regexp. You will have to fully tokenize both HTML and Javascript (and partially parse HTML and Javascript to know when the document switches language). What is a comment, after all, is context sensitive.
In reply to Re: HTML stripper...
by JavaFan
in thread HTML stripper...
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |