Hi graff,
Thanks for the reply, that's a really clever bit of coding! I tried it out and it worked perfectly.
Ed.
In reply to Re^2: perl regex for xml by equick in thread perl regex for xml by equick