in reply to Re: Re: Regular Expression
in thread Regular Expression
I need this to work on both windows and unix
The safest way to remove line terminations across platforms is:
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.s/[\r\n]+//;
|
|---|