regex: replace )\n with \n\n
Posted: Mon Oct 14, 2024 9:12 am
I want to replace )\n with \n\n
Since \n is a regular expression, “Regular Expression” is ticked on the “REPLACE” screen.
The “FIND WHAT” box contains: )\n
The “REPLACE WITH” box contains: \n\n
When I click any of the “REPLACE” buttons, a dialog box is displayed saying “Found a closing ) with no corresponding opening parentheses. The error occurred while parsing the regular expression: ‘>>>HERE>>>)’”.
How do I make the above replacement?
Will the above dialog box be displayed for any other characters? If “yes”, what are they?
Since \n is a regular expression, “Regular Expression” is ticked on the “REPLACE” screen.
The “FIND WHAT” box contains: )\n
The “REPLACE WITH” box contains: \n\n
When I click any of the “REPLACE” buttons, a dialog box is displayed saying “Found a closing ) with no corresponding opening parentheses. The error occurred while parsing the regular expression: ‘>>>HERE>>>)’”.
How do I make the above replacement?
Will the above dialog box be displayed for any other characters? If “yes”, what are they?