View Single Post
Old 02-02-2014, 02:58 AM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,821
Karma: 28586150
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 is online now   Reply With Quote