First, parse out the match and replacement parts of the string, then go read Regex as an argument to a sub.
In reply to Re: Regexp help!! by ambrus in thread Regexp help!! by kanish