Regex vs XML May 25, 2018 / Plaid Sheep / https://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags/1732454#1732454 Originally shared by Tom de Lorenzo This deserves immortality