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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Currency with Currency Code Prefix
Expression
^([A-Z]{0,3})?[ ]?([0-9]{1,3},([0-9]{3},)*[0-9]{3}|[0-9]+)(.[0-9][0-9])?$
Description
Matching currency entry with upto 3 letter currency code as prefix
Matches
USD2000.20, USD 2000, INR 150.150, QR 150, 15000
Non-Matches
usd2000.20, usd 2000, inr 2000, $250
Author Rating: Not yet rated. Ullaskumar V
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-2018, RegexAdvice.com | ASP.NET Tutorials