in reply to Extract a string

Good beginners regex info try Perlmonks Tutorial: Regular Expressions Tutorial, the Basics (for BEGINNERS)
I have also found very helpful working with regex's. Lots of good examples.
I found tools like or Eclipses regex tool to be helpful in debugging my regex commands.
Before posting questions try searches on Perlmonks and playing around with some code using the tools I just listed, you'll get more help with examples.
Good Luck.
-- Grey Fox
"We are grey. We stand between the darkness and the light" B5