RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 1
Title Test Details Number
Expression
^\s*[+-]?\s*(?:\d{1,3}(?:(,?)\d{3})?(?:\1\d{3})*(\.\d*)?|\.\d+)\s*$
Description
Matches numbers. May include decimals, thousands separators, and sign.
Matches
5,000 | - 10 | .1
Non-Matches
7.000.000 | 5,0000 | 1.000,000
Author Rating: Not yet rated. mark
   Displaying page 1 of 1 pages; Items 1 to 1

Copyright © 2001-2014, RegexAdvice.com | ASP.NET Tutorials