Hey,
I need to increase indentation of a formatted xml file to 4 spaces from 2 I tried using a regex powered XML formatter but it forgot to indent closing tags that were on a new line.
What options do I have, using preg_replace seems the best option, the search regex would be something like /( {2}^ANYTHING_EXCEPT_SPACE)/ but that's as far as I can seem to get.
Thanks, Xeross