in reply to Re: Regular expressions....in thread Regular expressions....
tr/\n//d; # Get rid of any embedded newlines [download]