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
^-?(\d+(,\d{3})*(\.\d+)?|\d?(\.\d+))$
Description
Matches any floating point numeric string with or without commas.
Matches
123 | 9,001 | -123,456,789.123 | 3.14159 | .25
Non-Matches
abc | - | 123,456,78 | 0.123.456 | 234.567,890 | ,123,456
Author Rating: Not yet rated. schooley
   Displaying page 1 of 1 pages; Items 1 to 1

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