List Info

Thread: Need Reg Ex for the following




Need Reg Ex for the following
user name
2006-06-05 09:15:31
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 regexgooglegroups.com
To unsubscribe from this group, send email to
regex-unsubscribegooglegroups.com
For more options, visit this group at http://groups.go
ogle.com/group/regex
-~----------~----~----~----~------~----~------~--~---

Need Reg Ex for the following
user name
2006-06-27 05:00:20
Please visit http://www.regexlib.com

On 6/5/06, Nidhi <gmail.com">getnidhisinghalgmail.com > wrote:

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 regexgooglegroups.com
To unsubscribe from this group, send email to regex-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/regex
-~----------~----~----~----~------~----~------~--~---

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )