the other option, you might want to take on this one is splitting the string based on the @ and grabbing the first instance within the split. something like
$from = (split(/\@/, $from))[0];
humbly -c
In reply to Re: Removing data from a string with Regex
by c
in thread Removing data from a string with Regex
by IPstacks
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |