Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (17)
As of 2015-07-02 17:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (44 votes), past polls