Try this: ("MyString")|(>MyString<)|(;MyString&)
Brian
2009-05-13 16:10:58
You cannot use regex to parse xml, it is not a regular grammar. Use an xml parser, seriously.
When you're using your parser to inspect text node values then and only then you might want to use (\".*?\")|(>.*?<)|(;.*?&)
but I doubt you'll find the problem is framed the same way. >MyString< is very suspicious.