This project has moved and is read-only. For the latest updates, please go here.

How can I search and replace with hyphens?

Feb 13, 2014 at 9:56 AM
Edited Feb 13, 2014 at 12:47 PM
Hello,
In CLI mode, I would like to search for 10 hyphens followed by 2 new line characters, and delete the 2nd new line. Something like:
--useRegEx --find "----------\n\n" --replace "----------\n"

This does not work. Could someone help me?

Bet regards,
Al
Mar 30, 2014 at 7:02 PM
I suspect the problem is with the command line parser.
I have had parsing issues with path\file names that contain a dash.
Mar 30, 2014 at 7:30 PM
Hi,

You can use recently added flag "--useEscapeChars" instead of "--useRegEx" and it should work.

Eric