x Did you like it? Well, then please consider making a donation :)

Regex Tag - real-number

Validate numbers

If Possible, Don't Use Regex To Validate Numbers. If at all possible, use your language. There may be functions to help you determine if the value contained by a string is a valid number. That being said, if you're accepting a variety of formats (commas, etc.) you may not have a choice.

Type: match, Date: 7/12/2015 4:07:04 PMAuthor: stackoverflow