Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: regex meaning

by prasadbabu (Prior)
on Nov 12, 2007 at 10:31 UTC ( [id://650247]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $str = '004asdfsa'; #string starting with zero and followed by numbers
    
    ...
    Output:
    --------
    4asdfsa
    
  2. or download this
    $str = 'a004asdfsa'; #not starting with zero
    
    ...
    Output:
    --------
    a004asdfsa
    
  3. or download this
    $str = '0a4sdfsa'; #no number followed by zero
    
    ...
    Output:
    --------
    0a4sdfsa
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-04-24 17:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found