in reply to Re: Regular expressions....
in thread Regular expressions....

tr/\n//d; # Get rid of any embedded newlines
You should really replace "\n" with a plain space character, so you don't get words like "isa" when you want "is a".