Thread: Regex examples
View Single Post
Old 06-04-2014, 06:30 AM   #370
JoHunt
I am what I am
JoHunt ought to be getting tired of karma fortunes by now.JoHunt ought to be getting tired of karma fortunes by now.JoHunt ought to be getting tired of karma fortunes by now.JoHunt ought to be getting tired of karma fortunes by now.JoHunt ought to be getting tired of karma fortunes by now.JoHunt ought to be getting tired of karma fortunes by now.JoHunt ought to be getting tired of karma fortunes by now.JoHunt ought to be getting tired of karma fortunes by now.JoHunt ought to be getting tired of karma fortunes by now.JoHunt ought to be getting tired of karma fortunes by now.JoHunt ought to be getting tired of karma fortunes by now.
 
JoHunt's Avatar
 
Posts: 6,625
Karma: 62235665
Join Date: Sep 2011
Device: iPad3, Voyage
Quote:
Originally Posted by Doitsu View Post
If most paragraphs end in </span>, you could search for:

[^.]+</span></p>

This regex should find end of paragraph tags preceded by a </span> tag and one or more characters that are not a period.
Thanks again, but that's finding every paragraph that ends in anything but a period - such as .”</span></p> Is there no way of isolating paragraphs which end with no punctuation?

Last edited by JoHunt; 06-04-2014 at 06:37 AM.
JoHunt is offline   Reply With Quote