in reply to Removing XML comments with regex
(Update: Corrected to provide minimal match)$xml =~ s/<!--.*?-->//sg;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Removing XML comments with regex
by moritz (Cardinal) on Oct 24, 2007 at 19:31 UTC | |
by Fletch (Bishop) on Oct 24, 2007 at 19:39 UTC | |
| |
by gamache (Friar) on Oct 24, 2007 at 19:37 UTC | |
by tuxz0r (Pilgrim) on Oct 24, 2007 at 19:41 UTC |