Page 1 of 1

Replacing XML tags using wildcards

Posted: Tue Oct 12, 2010 9:27 am
by fizban
I want to be able to replace a series of XML tags within a document. The tag goes;

ID="device_12345"

and they number from _1 to _80000

I want to be able to replace the whole of the tag from beginning to end (including the speech marks) with a space (so delete all references to the particular tag).

How do i accomplish this using regular expressions?

Thanks