Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ignore case ValidationExpression in RegularExpressionValidator

Reply
Thread Tools

ignore case ValidationExpression in RegularExpressionValidator

 
 
Morten71
Guest
Posts: n/a
 
      04-02-2007
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RegularExpressionValidator doesn't ignore case A.M ASP .Net 5 09-23-2011 11:32 AM
RegularExpressionValidator set case insensitive for both client and server ValidationExpression J055 ASP .Net 2 11-21-2007 09:54 AM
ValidationExpression =?Utf-8?B?SklNLkgu?= ASP .Net 4 11-18-2004 05:45 PM
Change the RegularExpressionValidator's ValidationExpression at cl Andy Eshtry ASP .Net Web Controls 0 06-29-2004 10:17 PM
ValidationExpression Syntax =?Utf-8?B?T2xpdmVyIFNjaHVsemU=?= ASP .Net 0 05-12-2004 02:06 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57