...

View Full Version : Resolved BUY Java script Object Notation regular expressions



MSB
08-19-2008, 04:56 PM
Thank You

Philip M
08-19-2008, 05:08 PM
Why do you want to buy this information?

I am sure that if you provide the pattern for these someone will be glad to help you.

Example:- USA Social Security Number:-

/^(?!000)([0-6]\d{2}|7([0-6]\d|7[012])) ([ -])? (?!00)\d\d([ -|])? (?!0000)\d{4}$/

Credit cards AMEX VISA Mastercard:-

/^((4\d{3})|(5[1-5]\d{2}))(-?|\040?)(\d{4}(-?|\040?)){3}|^(3[4,7]\d{2})(-?|\040?)\d{6}(-?|\040?)\d{5}$/

Credit card expiry date in form MM/YY (up to 2019):-

/^(([0][1-9])|([1][0-2]))\/[01][0-9]$/

Research suggests that the format of USA driving licences varies from state to state. More info as to what you want, please.

MSB
08-19-2008, 05:14 PM
I have most but just want options for accuracy. Thank You for the SSN example it matchs the one I have.

rnd me
08-19-2008, 07:51 PM
ive never seen regexp's for sale.

i find the idea humorous though. perhaps i will go into business.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum