View Single Post
Old 07-27-2014, 07:50 AM   #5
AlanHK
Guru
AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.
 
AlanHK's Avatar
 
Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
Quote:
Originally Posted by Doitsu View Post
If the spans are not nested the following simple regex should do the trick:

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

That should work, thanks.


Quote:
Originally Posted by Tex2002ans View Post
For nested tags, you really just need something that can actually PARSE HTML, and not just Regex.
Well, Sigil can parse HTML. It highlights the tag pairs, for instance. I was hoping there were some options hidden away that I could use to do this. Too bad it doesn't give users more HTML-aware s&r than generic regex.

Is there any HTML code editor that does stuff like this?
AlanHK is offline   Reply With Quote