if ($text =~ /^\s* \S+ \@ \w+ [\.\w]* \s*$/x) { .... } [download]
In reply to Re: special handling with regular expressions by dave_the_m in thread special handling with regular expressions by data67