in reply to Re: Re: Regular Expression
in thread Regular Expression

Regarding this issue:

I need this to work on both windows and unix

The safest way to remove line terminations across platforms is:

s/[\r\n]+//;
For that matter, you could probably just do s/\s+//g; based on the assumption that the only white space to be found in your dictionary file is the line breaks.