Search for RegExp

English main discussion
Post Reply
  • Author
  • Message
Offline
Posts: 282
Joined: Thu Sep 10, 2015 9:53 am
Location: Deutschland

Search for RegExp

Post 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?

Offline
Posts: 874
Joined: Sat Jan 16, 2010 2:03 pm

Re: Search for RegExp

Post 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

Offline
Posts: 282
Joined: Thu Sep 10, 2015 9:53 am
Location: Deutschland

Post by sexy96 »

It works. Thank you. :)
Post Reply