Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hello Monks, I have a simple doubt, can anyone pls answer me?
I have a string as mentioned above. I need to extract only the digits from it ie, i need the output as "245613910". Is it possible to get this using any regex,pls?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Take digits from a string
by johngg (Canon) on Nov 26, 2012 at 17:35 UTC | |
|
Re: Take digits from a string
by ww (Archbishop) on Nov 26, 2012 at 13:03 UTC | |
by gepebril69 (Scribe) on Nov 26, 2012 at 13:11 UTC | |
by ww (Archbishop) on Nov 26, 2012 at 13:30 UTC | |
|
Re: Take digits from a string
by 2teez (Vicar) on Nov 26, 2012 at 13:56 UTC | |
|
Re: Take digits from a string
by rcrews (Novice) on Nov 26, 2012 at 22:33 UTC | |
|
Re: Take digits from a string
by Anonymous Monk on Nov 26, 2012 at 13:32 UTC |