ignore case ValidationExpression in RegularExpressionValidator

Discussion in 'ASP .Net' started by Morten71, Apr 2, 2007.

  1. Morten71

    Morten71 Guest

    I have this regex. in the ValidationExpression property of my dotnet
    1.1 RegularExpressionValidator control:

    ^(?i)(DF)?[\d*\*]+$

    However, I can't make the ignore case part (?i) work!

    How should I construct my regex / RegularExpressionValidator to ignore
    case?

    /Morten
     
    Morten71, Apr 2, 2007
    #1
    1. Advertisements

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. A.M
    Replies:
    5
    Views:
    6,413
    subha
    Sep 23, 2011
  2. Mosas
    Replies:
    1
    Views:
    554
    Maarten Sneep
    Mar 22, 2005
  3. J055
    Replies:
    2
    Views:
    3,630
  4. Replies:
    7
    Views:
    397
  5. Andrew Thompson

    Applet parameters - ignore case?

    Andrew Thompson, Dec 4, 2008, in forum: Java
    Replies:
    4
    Views:
    931
    Andrew Thompson
    Dec 5, 2008
  6. Alex Buell
    Replies:
    18
    Views:
    3,102
    Alex Buell
    Dec 30, 2008
  7. Andy Eshtry
    Replies:
    0
    Views:
    490
    Andy Eshtry
    Jun 29, 2004
  8. Rob Meade
    Replies:
    6
    Views:
    483
    Rob Meade
    Mar 1, 2004
Loading...