in reply to
A regex question...
The only thing that I would suggest would be to possibly do some error handling to make sure that the data is what you expect... besides that there really isn't anything wrong with the code you came up with.
Comment on
Re: A regex question...
In Section
Seekers of Perl Wisdom