in reply to Regex Substitution in sub

OK. Sorry. It should read my $result

my mistake.

peppiv