replacing CR and LF in text files

Feb 25, 2013 at 4:05 PM
I need to find/replace CRs or LFs characters in text files. How can I do that in command line?

Thanks,
Nic
Coordinator
Apr 25, 2013 at 8:58 AM
Edited Apr 25, 2013 at 8:58 AM
Hi Nic,

You can use Regular Expression "\r?\n" to look for one or multiple CR LFs characters.

Here is a link with more information on character escapes in regular expressions.

With fnr.exe you will need to append the following options to command line:
--cl --useRegEx --find "\r?\n"

Regards,

Eric