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.
search-replace : sentence break
-
kenfhill84083
- Posts: 21
- Joined: Thu Dec 08, 2022 9:17 am
Re: search-replace : sentence break
bump. any suggestions on this help request?
Re: search-replace : sentence break
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:
Just copy/paste the above search pattern in the “Find what” box:
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