Regex .......

Sachin

Member³
I saw some older topics about regex, but none of them really answered my concern.

I have a pretty large script that has a + at the end of the line. When I use REGEX and do a search replace:
Find: +\r\n
Replace: \r\n

It literally puts a "\r\n" in place of the + sign. Shouldn't it replace the + & CR with a new CR?

Tried to use a macro for the same based on Scott's suggestion in Editor: Search and replace TRIM function

But the macro does not record Find Next (Ctrl L). Am I missing something?

Any suggestions?

Thanks,
 
It is indeed not possible to use regular expressions in the replacement text. This is on the list of enhancement requests. The Macro / Find Next will be fixed.
 
Back
Top