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

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.