Thread: Regex examples
View Single Post
Old 06-04-2014, 06:07 AM   #369
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,583
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by joehunt View Post
Thank you but it looks like it's finding all instances of </span></p> ?
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.
Doitsu is offline   Reply With Quote