http://qs1969.pair.com?node_id=125444


in reply to Removing data from a string with Regex

In true TMTOWTDI style you could also use that which is below, although it is lacking a bit in the optimization.
$from =~ /@/; $from = $`;
jclovs