I did a bit of judicious RTFM'ing, and duly confirmed why Perl's first-class regex support ROCKS: (link only posted for brevity) http://www.researchkitchen.co.uk/blog/archives/41 I have to admit, I was amazed that I could actually do this, but I guess I shouldnt be! Cheers for the help again guys! Rory