View Single Post
Old 06-03-2015, 11:22 AM   #8
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,614
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by Thom* View Post
You have probably already resolved this, but I simply use:

Search: <span class="calibre5">(.*?)</span>
Replace: \1

Make sure you have selected "regex" for searsh method and that is it.

Now, nested <span> tags could cause a problem, but that is for another discussion.

Best of Luck
Code:
<span class="calibre5">([^<>]+)</span>
Is infinitely less potentially destructive than
Code:
<span class="calibre5">(.*?)</span>
precisely because of nested spans.
DiapDealer is offline   Reply With Quote