akilan
2 years agoOccasional Contributor
REgex to capture number
I have a text response Example" Call 950000 saved". I need to capture only number "950000" and have to assign this to a variable.
What regex we use to capture only the number from above sentence..
Thanks in advance,
Akil
Here's an example which displays number(s) in the first paragraph using regular expression,