Forum Discussion

akilan's avatar
akilan
Occasional Contributor
2 years ago

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.. ...
  • rraghvani's avatar
    2 years ago

    Here's an example which displays number(s) in the first paragraph using regular expression,