From: Mark Thomas Date: 2008-08-14T02:32:22+09:00 Subject: Re: Regular expression: anything except I said: > Since it looks like XML, I recommend using an XML parser. It not > a good idea to parse XML with regular expressions; doing it robustly > is difficult, as there are many details that can trip you up. < TEXT id="foo">blabla Oops! Now the regex doesn't work.