in reply to Re^3: Regex Problem - alternative searched
in thread Regex Problem - alternative searched
THANKS! A slight modification seems to work: (?s)<!--(.(?<!--))*-->
At first it appears a bit odd because of the negative lookbehind which looks like an XML Comment start ;-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Regex Problem - alternative searched
by BrowserUk (Patriarch) on May 18, 2007 at 14:57 UTC | |
by Skeeve (Parson) on May 18, 2007 at 15:16 UTC | |
by BrowserUk (Patriarch) on May 18, 2007 at 15:33 UTC |