Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 having an uproarious good time at the Monastery: (7)
As of 2017-02-28 18:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (407 votes). Check out past polls.