Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: XML / regex - cleaning up attributes

by JavaFan (Canon)
on Oct 01, 2010 at 08:58 UTC ( #862929=note: print w/ replies, xml ) Need Help??

in reply to XML / regex - cleaning up attributes

Is there a regex that will remove this extra punctuation but leave the rest of the attribute (and tag) intact?
The problem is that for every example you give to "clean" up, it's easy to come up with a regex to do just that. Unfortunally, for any given regexp, there'll be an example where it makes it worse.

Comment on Re: XML / regex - cleaning up attributes

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://862929]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (13)
As of 2015-11-26 14:01 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (701 votes), past polls