Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: simple question

by sundialsvc4 (Abbot)
on May 06, 2012 at 14:19 UTC ( #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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://969140]
[erix]: infallibility breeds inquisition
[erix]: ( hm. that doesn't make sense really -- infallibility is a 19th century invention, the Inquisition quite a bit earlier )

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2017-01-17 23:56 GMT
Find Nodes?
    Voting Booth?
    Do you watch meteor showers?

    Results (159 votes). Check out past polls.