Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-19-2008, 04:56 PM   PM User | #1
MSB
New to the CF scene

 
Join Date: Aug 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
MSB is an unknown quantity at this point
BUY Java script Object Notation regular expressions

Thank You

Last edited by MSB; 08-20-2008 at 04:33 PM.. Reason: done
MSB is offline   Reply With Quote
Old 08-19-2008, 05:08 PM   PM User | #2
Philip M
Supreme Master coder!

 
Philip M's Avatar
 
Join Date: Jun 2002
Location: London, England
Posts: 17,044
Thanks: 197
Thanked 2,412 Times in 2,390 Posts
Philip M has a spectacular aura aboutPhilip M has a spectacular aura aboutPhilip M has a spectacular aura about
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.

Last edited by Philip M; 08-19-2008 at 05:42 PM..
Philip M is online now   Reply With Quote
Old 08-19-2008, 05:14 PM   PM User | #3
MSB
New to the CF scene

 
Join Date: Aug 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
MSB is an unknown quantity at this point
I have most but just want options for accuracy. Thank You for the SSN example it matchs the one I have.
MSB is offline   Reply With Quote
Old 08-19-2008, 07:51 PM   PM User | #4
rnd me
Senior Coder

 
rnd me's Avatar
 
Join Date: Jun 2007
Location: Urbana
Posts: 3,468
Thanks: 9
Thanked 466 Times in 450 Posts
rnd me is a jewel in the roughrnd me is a jewel in the roughrnd me is a jewel in the rough
ive never seen regexp's for sale.

i find the idea humorous though. perhaps i will go into business.
__________________
my site (updated 5/13)
STATS (2013/5) HTML5:90.2% MOB:14% IE7:0.5% IE8:8.6% IE9:9.8% IE10:10%
rnd me is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:28 AM.


Advertisement
Log in to turn off these ads.