Thread: Searching NOT
View Single Post
Old 01-22-2014, 04:38 PM   #4
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,743
Karma: 24031403
Join Date: Dec 2010
Device: Kindle PW2
theducks's suggestion is, of course, perfectly fine, however, if you want to merge sentences, you might find this extended expression helpful that I use to merge sentences:

Find: ([[:lower:]],*;*:*)</p>\s+<p[^>]*>\s*([[:lower:]])
Replace: \1 \2

This expression will search for:
- a single lower case character followed by zero or more commas, semi-colons or colons
- followed by </p>,
- followed by one or more white-spaces (including line-breaks),
- followed by <p> (with optional attributes),
- followed by zero or more spaces and a single lower-case character.
Doitsu is offline   Reply With Quote