Regular Expression

Discussion in 'ASP .Net' started by =?Utf-8?B?SmltIEhlYXZleQ==?=, Jun 2, 2004.

  1. If you write a regular expression which allows [ A-Z';:]{1,250}, how would you then alter the expression to not allow 2 '' values one right after another

    Your assitance is greatly appriecated!
     
    =?Utf-8?B?SmltIEhlYXZleQ==?=, Jun 2, 2004
    #1
    1. Advertising

  2. =?Utf-8?B?SmltIEhlYXZleQ==?=

    Martin Guest

    How about
    ([ A-Z';:](''){0}){1,250}

    I've not tried it, and my re is pretty rusty, but it might lead to
    something.

    Martin

    "Jim Heavey" <> wrote in message
    news:...
    > If you write a regular expression which allows [ A-Z';:]{1,250}, how would

    you then alter the expression to not allow 2 '' values one right after
    another?
    >
    > Your assitance is greatly appriecated!
     
    Martin, Jun 2, 2004
    #2
    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. Keith-Earl
    Replies:
    1
    Views:
    478
    Mary Chipman
    Jun 15, 2004
  2. VSK
    Replies:
    2
    Views:
    2,399
  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:
    886
    Alan Moore
    Dec 2, 2005
  4. GIMME
    Replies:
    3
    Views:
    12,053
    vforvikash
    Dec 29, 2008
  5. Noman Shapiro
    Replies:
    0
    Views:
    262
    Noman Shapiro
    Jul 17, 2013
Loading...

Share This Page