Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: matching USD amounts

by eye (Chaplain)
on Aug 31, 2009 at 04:46 UTC ( #792282=note: print w/replies, xml ) Need Help??


in reply to matching USD amounts

This should fulfill your requirements and enforce the 100,000 max.
/^\$(?:100,?000(?:\.00)?|\d{1,2},?\d{3}(?:\.\d\d)?)$/

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://792282]
help
Chatterbox?
[atcroft]: .oO(Plus it was a little slow for a few minutes, at least... ;) )

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2018-02-24 20:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (311 votes). Check out past polls.

    Notices?