sharief has asked for the wisdom of the Perl Monks concerning the following question:
HI monks, I want a regular expression to remove unwanted span tags like
This
<span> <span> <span style="color:#000000;"> <ix:nonNumeric name="uk-bus:PrincipalLocation-CityOr +Town">London</ix:nonNumeric> </span> </span> </span>
TO
<ix:nonNumeric name="uk-bus:PrincipalLocation-CityOrTown">London</ix:nonNumeric>I would like to remove the upper and lower span tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Regular expression
by marto (Cardinal) on Feb 03, 2012 at 12:38 UTC | |
|
Re: Regular expression
by chessgui (Scribe) on Feb 03, 2012 at 12:41 UTC | |
|
Re: Regular expression
by repellent (Priest) on Feb 05, 2012 at 03:46 UTC | |
by mirod (Canon) on Feb 05, 2012 at 08:05 UTC |