parsing an XML doc with regex

 parsing an XML doc with regex  is a bad idea, and likely to take you more time to write the regex than to find and figure out how to use an XML parsing library in the programming language of your preference.