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.
In reply to Re: XML / regex - cleaning up attributes
by JavaFan
in thread XML / regex - cleaning up attributes
by ethrbunny
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |