in reply to Regular Expression
Monks are noble creatures and have basic ethical expectations of visitors at the Monastery. So at least try doing *something* before posting here, and at the very least make sure that the code that you post actually works.
Hint 1: The code you claim will fetch a value won't compile.
Hint 2: Try substitution.
Hint 3: Read How do I post a question effectively?
In Section
Seekers of Perl Wisdom