Thread: Regex examples
View Single Post
Old 01-17-2013, 08:19 AM   #179
LightFromMoon
Junior Member
LightFromMoon began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2013
Device: Kobo Glo
Quote:
Originally Posted by mzmm View Post
this should work, but i'd still go through the file and replace them one at a time. it'll match a </p> not preceded by a non-alphanumeric character (like ?, ., !, etc.)

Code:
find:

(?<!\W)</p>\s+<p[^>]*>

rep:

 <---- this is a single space

Excuse me, but it didn't work for me. No matches found ....
LightFromMoon is offline   Reply With Quote