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 Formatted Numbers (tr-TR competible)
Expression
^(\d{1.3}(\.\d{3})*|(\d+))(\,\d{1})|(\d{1.3}(\.\d{3})*|(\d+))(\,\d{2})?$
Description
This expression allow controling to formatted numeric values.
Matches
0,1 - 0,11 - 12,00 - 1.253,55 etc.
Non-Matches
0,0,00 - 1.11,12 - 1,123 - ,02 - 2, etc.
Author Rating: Not yet rated. M. Ugur NEMLIOGLU
Title Test Details Formatted Integers (tr-TR)
Expression
^(\d{1}|\d{2}|\d{3})(\.\d{3})*?$
Description
You can change \. separator with which you need as a separator like \, (en-US numbers separator) or \. (tr-TR numbers separator) etc.
Matches
1.210.122 - 12.215 - 100 etc
Non-Matches
1.21.122 - 123. - 123.22 - 123,55 etc
Author Rating: Not yet rated. M. Ugur NEMLIOGLU
   Displaying page 1 of 1 pages; Items 1 to 2

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