Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Please advise.$firstname = s/[a-zA-Z][a-zA-Z]^z{3}?^[a-zA-Z]^/{$1}/e; $lastname = s/^[a-zA-Z]^ZZZ[a-zA-Z]/{$1}/e;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Extract firstname and lastname from variable
by GrandFather (Saint) on Mar 01, 2010 at 02:22 UTC | |
by colwellj (Monk) on Mar 01, 2010 at 02:41 UTC | |
by llancet (Friar) on Mar 01, 2010 at 03:04 UTC | |
|
Re: Extract firstname and lastname from variable
by ww (Archbishop) on Mar 01, 2010 at 02:37 UTC |