View Single Post
Old 02-01-2013, 08:56 AM   #4
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,108
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Are the empty lines hard coded? It doesn't look like it in your example but if there is...

Is there a <p><br /></p> or a <p>&nbsp;</p> or something like that??

If there is, you could use a "\s*" between the groups to find any space between. Something along these lines (assuming the blank lines are hard coded as "<p>&nbsp;</p>" :

find: <p>&nbsp;</p>\s*<p>\d+</p>\s*<p>&nbsp;</p>
replace: {nothing - empty}

That will find a blank line before, the line with the number, and a blank line after.

Cheers!
Turtle91 is online now   Reply With Quote