Page 1 of 1

Search for RegExp

Posted: Sun Jul 05, 2020 9:35 am
by sexy96
I would like to find lines where there are 2x double spaces
Image

Notepad ++ does it like this:
Image

Akelpad:
Image

what should the RegExp code look like?

Re: Search for RegExp

Posted: Sun Jul 05, 2020 6:13 pm
by opk44
sexy96 wrote:...what should the RegExp code look like?
1. You can use the same code, but check "off" the option [". matches \n"] (See the small triangle behind the "Regular expressions" option in "Find" form)
2. You can add "(?-s)" option in your regexp directly:
(?-s)^\w+\s\s.+\s\s\w+\r

Posted: Mon Jul 06, 2020 10:04 am
by sexy96
It works. Thank you. :)