I need a regular expression that I can use in VBScript and .NET that will return only the numbers that are found in a string.
For Example any of the following \"str
By the looks of things, your trying to catch any 10 digit phone number....
Why not do a string replace first of all on the text to remove any of the following characters.
, . ( ) - [ ]
Then afterwards, you can just do a regex search for a 10 digit number.
\d{10}