I am trying to verify if a string is anything Other than a money format such as:

// bigMoney means 999999999 or 999,999,999 allowed, max 9 digits in 11-char 
field.
// Make sure NOT valid for weirdly placed commas like ",999" or "9,,999" or 
"99,99"

inputString.match( "^\\d{0,9}$|^\\d{1,3}(,\\d{3})*$" );

But, this does not seem to parse correctly in my String.match(), but this same 
RegEx work for my Struts validator.
Any help here?

--------------------
Mick Knutson
Wells Fargo Business Direct Information Systems
(415) 222-1020

"This message may contain confidential and/or privileged information. If you 
are not the addressee or authorized to receive this for the addressee, you must 
not use, copy, disclose, or take any action based on this message or any 
information herein. If you have received this message in error, please advise 
the sender immediately by reply e-mail and delete this message. Thank you for 
your cooperation."
--------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to