in reply to Re: Removing data from a string with Regex
in thread Removing data from a string with Regex
while (<FILE>) { my ($name) = /^--from\s*([^@]+)/; print ($name) if defined $name; }
pike
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Removing data from a string with Regex
by CharlesClarkson (Curate) on Nov 15, 2001 at 23:01 UTC |