I need a regular expression for Currency.
The Currency should have 22 digits maximum(can have 0 digits
to a
maximum of 22 digits) followed by a decimal(optional) and
then 6 digits
maximum(optional). This expression should also be comma
seperated in US
currency.
Mantissa should be of maximum 22 digits
May or may not have a decimal
If decimal exists then significant digits can be of maximum
6 digits
E.g. 12,200,100.900 OR 3,400,500,100.000000
OR 1,200,000,000,000,000,000,000.0000
OR 1,200,000,000,000,000,000,000
All these are valid values
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Regex" group.
To post to this group, send email to regex googlegroups.com
To unsubscribe from this group, send email to
regex-unsubscribe googlegroups.com
For more options, visit this group at http://groups.go
ogle.com/group/regex
-~----------~----~----~----~------~----~------~--~---
|