Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Regular Expression Question

by Roy Johnson (Monsignor)
on Jul 21, 2004 at 23:41 UTC ( [id://376418]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    /^(\d{6}\.?(?:\d{2})?\w?$/;
    
  2. or download this
    /^(\d{6}    #leading digits
      (?:\.?    #if dot, then
       (?:(?:\d{2})? #if two digits, then
        \w?)))$/x;   #maybe a character
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (2)
As of 2024-07-16 06:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.