Thread: Searching NOT
View Single Post
Old 01-22-2014, 04:24 PM   #3
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,709
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
1) Regex mode.
Code:
[^.]</p>
Although you're probably going to want something like:
Code:
[^.?!"']</p>
if you're looking for broken paragraphs.

Number two seems like a really odd search. Your code's in a lot of trouble if you have naked text immediately following a closing paragraph tag. But:
Code:
</p>[a-z]
should find it, if for any reason there is.

Or if it should literally be anything OTHER than the beginning of a new tag... then:
Code:
</p>[^<]
DiapDealer is offline   Reply With Quote