I need to remove all the carriage-return and linefeeds (hex: 0D & 0A) from a file and \r \n doesn't seem to work.
If I could get some assistance with this, it would be appreciated.
thanks,
lee
RegEx help: match carriagereturn & linefeed
Re: RegEx help: match carriagereturn & linefeed
Hi,
In the Find/Replace in Files dialog there is a "Regular Expression" checkbox. If you check it, you can for example search for:
and replace it with nothing.
Regards,
Radu
In the Find/Replace in Files dialog there is a "Regular Expression" checkbox. If you check it, you can for example search for:
Code: Select all
(\r|\n)
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Re: RegEx help: match carriagereturn & linefeed
The parenthesis is what I was missing!
Thanks,
lee
Thanks,
lee