is the proper way to go, since we don't want to be greedy and treat the beginning of the first comment until the end of the last comment as a giant comment itself.s/<!--.*?-->//gs
In reply to Re^4: Removing XML comments with regex
by tuxz0r
in thread Removing XML comments with regex
by gasho
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |