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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Price
Expression
^[$]?[0-9]*(\.)?[0-9]?[0-9]?$
Description
Should match prices with or without a dollar sign.
Matches
4.42 | $4.42
Non-Matches
asdf
Author Rating: The rating for this expression. Steven Smith
Source Mark Hauser via Email
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

Title: Good
Name: c-pal
Date: 2/20/2008 5:24:24 PM
Comment:
this is useful.


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