Regexp to split XML Tags into one tag per line
I was working with an XML file which was all jumbled onto one line. I wanted to split the XML tags out to make them human readable.
This is the Regexp I used puts a carriage return between all >< but not ></
This neatly separates the tags into one tag per line. Note the use of regex memory .