Jump to content

Get numbers from a sentence ?


Alexxander
 Share

Go to solution Solved by Terenz,

Recommended Posts

 

Alexxander,

The RegExp solution given will extract all numbers, if you want only to extract the numbers between brackets, use this simple pattern: "[d]".

 

PS: A forum search will be faster than creating a topic and waiting for answers ;)

 

Br, FireFox.

FireFox

Bad guess.

"[d]" is  the same as "[0-9]" which is the same as "d".

If you want only to extract the numbers between brackets, use this simple pattern: "[(d+)]".

Edited by Malkey
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...