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 Decimal number with 2 digits after comma
Expression
^[+-]?\d+(\,\d{2})? *?$
Description
This regex accepts decimal number with exactly 2 numbers after comma and without point.
Matches
0,00 0,99 -99,99 999999 -9 0 999999999,99
Non-Matches
9,9 0,0
Author Rating: Not yet rated. jose
   Displaying page 1 of 1 pages; Items 1 to 1

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