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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Currency w/ Symbols
Expression
^\p{Sc}?[A-Z]{0,3}?[ ]?(\d{1,3})(\.|\,)(\d{0,4})?[ ]?\p{Sc}?[A-Z]{0,3}?$
Description
Currency test for currency symbols and up to three char leading/trailing string
Matches
$123.1234 | EUR 123,12 | 123.24 USD
Non-Matches
@ 123.24 | EURO 123,12 | ABC
Author Rating: Not yet rated. David Parkin
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