How to set the no duplicate regular expression

Discussion in 'ASP .Net' started by ad, Jun 18, 2005.

  1. ad

    ad Guest

    I use ^[0-9a-d]*$ to restrict the user input character must within '0'-'9'
    or 'a'-'d', but how can I restric that the input character must not
    duplicate
    a91b
    d23c

    is ok
    but

    c9aa
    112
    ...

    is not ok

    How can I do it?
     
    ad, Jun 18, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. VSK
    Replies:
    2
    Views:
    2,332
  2. =?Utf-8?B?cmF2aQ==?=
    Replies:
    1
    Views:
    371
    Curt_C [MVP]
    Jul 14, 2005
  3. =?iso-8859-1?B?bW9vcJk=?=

    Matching abitrary expression in a regular expression

    =?iso-8859-1?B?bW9vcJk=?=, Dec 1, 2005, in forum: Java
    Replies:
    8
    Views:
    860
    Alan Moore
    Dec 2, 2005
  4. GIMME
    Replies:
    3
    Views:
    11,997
    vforvikash
    Dec 29, 2008
  5. Tony
    Replies:
    2
    Views:
    134
    Tad McClellan
    Apr 21, 2005
Loading...

Share This Page