Comment Comment by phl As the examples in the article use xml, I just wanted to point out that applying regex to xml has a lot of limitations and should be avoided. See: https://stackoverflow.com/questions/1732348/regex-match-open... parent phl 5 years ago