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 Validate numbers with commas
Expression
^(\d{1,3},)?(\d{3},)+\d{3}(\.\d*)?$|^(\d*)(\.\d*)?$
Description
Validates numbers with commas.
Matches
12 - 12.45 - 12,456,456.45 -
Non-Matches
123,455.45. - 45,4564,12 - ,12,456
Author Rating: Not yet rated. Luis Fleitas
   Displaying page 1 of 1 pages; Items 1 to 1

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