Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: XML / regex - cleaning up attributes

by Anonymous Monk
on Sep 30, 2010 at 22:37 UTC ( #862870=note: print w/replies, xml ) Need Help??


in reply to XML / regex - cleaning up attributes

The second will not as the text tag contains embedded ' marks. Is there a regex that will remove this extra punctuation but leave the rest of the attribute (and tag) intact?

Complain upstream to whomever thinks they're supplying XML, because they are not, seriously :/

  • Comment on Re: XML / regex - cleaning up attributes

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://862870]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (13)
As of 2017-10-19 13:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (253 votes). Check out past polls.

    Notices?