search-replace : sentence break

Request new features or suggest modifications to existing features of Atlantis.
Post Reply
kenfhill84083
Posts: 21
Joined: Thu Dec 08, 2022 9:17 am

search-replace : sentence break

Post by kenfhill84083 »

In the same way you can find paragraph breaks (^p) as part of search-replace, it would be handy if you could find sentence breaks - without having to go thru the process of separately searching for periods, question marks, and exclamation marks - before even having to factor in quotation marks at the end of a sentence.

Among other things, I use Atlantis as a pre-processor for bringing text into Freeplane mindmapping software. In some of my scenarios, it is much easier to work with sentences than paragraphs. It would be even easier if I did not have to manually break apart paragraphs into those sentences.

Thanks.
kenfhill84083
Posts: 21
Joined: Thu Dec 08, 2022 9:17 am

Re: search-replace : sentence break

Post by kenfhill84083 »

bump. any suggestions on this help request?
User avatar
admin
Site Admin
Posts: 3026
Joined: Wed Jun 05, 2002 10:48 pm
Contact:

Re: search-replace : sentence break

Post by admin »

There is no such special character as “sentence break”.

The following wildcard search pattern matches “white space” after a sentence terminated with a period, exclamation mark or question mark, optionally followed by a quote mark:

Code: Select all

[!.^#^w]{2}[.!?]['"]{0,}|^w|^U
Just copy/paste the above search pattern in the “Find what” box:

space_between_sentences.png
space_between_sentences.png (9.79 KiB) Viewed 667 times
Post Reply