$XML_string =~ s/([^>])\n+([^<])/$1 $2/g [download]
In reply to Re: XML-related Regular Expression question by Cyrnus in thread XML-related Regular Expression question by ctgIT