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

Re: simple question

by sundialsvc4 (Abbot)
on May 06, 2012 at 14:19 UTC ( [id://969140]=note: print w/replies, xml ) Need Help??


in reply to simple question

Have a read about the /g modifier in regular expressions:   it lets you apply a regex more than one time to the same string.   Now you can, in a loop, collect all of the character-strings which match “one or more not-a-digit” and concatenate them into a new string.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-24 05:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found