title: Regular expression case sensitive
body: <p>im trying to get this regular expression to work but im having problems with javascript exception because of the case sensitive.</p>
  
  <p>I have my regular expression in my model and some words should not be able to write such as "and" "or" "ok" "not. but if i write Andy it should work </p>
  
  <pre><code>[RegularExpression(@"^(?:(?!\b(?:AND|O[RK]|NOT|FALSE|TRUE)\b)[\wåäöÅÄÖ\._])*$\i", ErrorMessageResourceName
  </code></pre>
  
  <p>i can't use the regularoption ( Regex.ignoreCase) so im trying to use \i but getting javascript error.</p>
  
  <p>what am i doing wrong?</p>