Thread: Searching NOT
View Single Post
Old 01-22-2014, 04:13 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,094
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by tarisea View Post
For the life of me I can't figure out how to do these 2 searches.

1. How would I search for </p> where the is NOT a . before it?
The the first line would come up but the second one wouldn't.

<p class="calibre11">But that didn’t mean he wanted to turn out</p>
<p class="calibre11"> the lights and go to sleep either.</p>


2. Same problem different version. How would I search for </p> where it is followed by a character [a-z] instead of a <


<p class="calibre11">But that didn’t mean he wanted to turn out</p>
the lights and go to sleep either.</p>


Any help would be greatly appreciated.

TTRS
([a-z,"])</p>\s+<p class=calibre\d+">([a-z])
searches for lowercase or comma or straight quote

\1 \2

This will miss some words that start with a capital: eg Martha or a quote.

Last edited by theducks; 01-22-2014 at 04:17 PM. Reason: full search added
theducks is offline   Reply With Quote