Thread
:
regex cannot find to replace
View Single Post
02-02-2014, 01:58 AM
#
6
kovidgoyal
creator of calibre
Posts: 45,240
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Or dont terminate your search expression with a lookahead. In your case use something like
(<p.*?>)\xa0([^<>])
and replace with
\1\2 (assuming getting rid of the nbsp is what you want to do)
kovidgoyal
View Public Profile
Visit kovidgoyal's homepage!
Find More Posts by kovidgoyal
Track Posts by kovidgoyal via RSS