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 2
Title Test Details Pattern Title
Expression
^(\d|,)*\.?\d*$
Description
Matches Numeric with Commas and a single decimal point. Also matches empty string.
Matches
1,000 | 3,000.05 | 5,000,000
Non-Matches
abc | $100,000 | Forty
Author Rating: Not yet rated. Kevin Read
Title Test Details Pattern Title
Expression
^(\d|-)?(\d|,)*\.?\d*$
Description
Input for Numeric values. Handles negatives, and comma formatted values. Also handles a single decimal point
Matches
5,000 | -5,000 | 100.044
Non-Matches
abc | Hundred | 1.3.4
Author Rating: Not yet rated. Kevin Read
   Displaying page 1 of 1 pages; Items 1 to 2

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