Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Need a regular expression to check the first digit

by tybalt89 (Prior)
on May 19, 2021 at 22:50 UTC ( #11132751=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    for me. "53009496" and i w (too short)
    for me. "5093009496" and i w (too long)
    for me. "503009496" and i w
    
  2. or download this
        found in : for me. "503009496" and i w
    not found in : for me. "603055496" and i w (6)
    ...
    not found in : for me. "53009496" and i w (too short)
    not found in : for me. "5093009496" and i w (too long)
        found in : for me. "503009496" and i w
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2022-05-20 07:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (73 votes). Check out past polls.

    Notices?