RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Money Brazil
Expression
^([1-9]{1}[\d]{0,2}(\.[\d]{3})*(\,[\d]{0,2})?|[1-9]{1}[\d]{0,}(\,[\d]{0,2})?|0(\,[\d]{0,2})?|(\,[\d]{1,2})?)$
Description
Aceita duas casas decimas após a vírgula. Pode ser usado para Real Brasil. Uses up to two decimal places. Good to use for brazilian money format (Real).
Matches
100.000,00 | 100000,00 | 89 | 89,87 |
Non-Matches
89.87 | 100,000.00 | 0.75
Author Rating: The rating for this expression. Renato Cugler
Source
Your Rating
Bad Good

Enter New Comment

Title
 
Name
 
Comment
 
Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

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