while (<FILE>) { my ($name) = /^--from\s*([^@]+)/; print ($name) if defined $name; }
pike
In reply to Re: Re: Removing data from a string with Regex
by pike
in thread Removing data from a string with Regex
by IPstacks
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |