in reply to remove chevrons from an email address

Rough example:
$subject = '<sm.th.>'; $regex = { '<', '&lt', '>', '&gt' }; for( keys %$reg ){ $subject =~ s/$_/$reg->{$_}/g }