Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: regex: seperating parts of non-formatted names

by fruiture (Curate)
on Sep 09, 2002 at 18:15 UTC ( [id://196376]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $name = qr{($title)?\W+($first)?\W+($middle)?\W+($last)};
    
  2. or download this
    #the title shall be extensible, ok
    my @titles = qw/LTC COL DR MS MR MISS/;
    ...
    
    # last name: no restrictions?
    my $last = qr[\w+];
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://196376]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-04-19 20:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found