Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Regex to match 20 chars of some digits followed by some spaces

by leriksen (Curate)
on Dec 19, 2003 at 02:23 UTC ( [id://315724]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    record  : account address info
    account : /trusty regex here/
    address : ...
    info    : ...
    
  2. or download this
    account : /\d(\d){0,19} {19 - length \1}/
    
  3. or download this
     01234567890123456789
    '123                 ' # OK
    '123 123             ' # NOK
    '                    ' # NOK
    '123c                ' # NOK
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://315724]
Approved by PERLscienceman
Front-paged by broquaint
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2025-01-25 06:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which URL do you most often use to access this site?












    Results (70 votes). Check out past polls.