Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    MSB
    MSB is offline
    New to the CF scene
    Join Date
    Aug 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    BUY Java script Object Notation regular expressions

    Thank You
    Last edited by MSB; 08-20-2008 at 04:33 PM. Reason: done

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    17,731
    Thanks
    202
    Thanked 2,508 Times in 2,486 Posts
    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.

  • #3
    MSB
    MSB is offline
    New to the CF scene
    Join Date
    Aug 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I have most but just want options for accuracy. Thank You for the SSN example it matchs the one I have.

  • #4
    Senior Coder rnd me's Avatar
    Join Date
    Jun 2007
    Location
    Urbana
    Posts
    4,184
    Thanks
    10
    Thanked 569 Times in 550 Posts
    ive never seen regexp's for sale.

    i find the idea humorous though. perhaps i will go into business.
    my site (updated 13/9/26)
    BROWSER STATS [% share] (2014/1/19) IE7:0.2, IE8:6.7, IE11:7.4, IE9:3.8, IE10:4.4, FF:18.3, CH:43.6, SF:7.8, MOBILE:27.5


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •