Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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

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

Help for this page

Select Code to Download


  1. or download this
    m/^\d((?<=\d)\d(?=([ \d]|$))|(?<=[\d ]) (?=( |$))){19}$/
    
  2. or download this
    m/^(?=\d*(?:\d ) *(?!\d)$)[0-9 ]{20}$/
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2025-01-25 06:46 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.