I have a validation script in my application to prevent the input of certain email addresses.
It works if the domain in entered in the case thats expressed, however I need to make it non-case sensitive
var strRuleMessage = 'Forbidden Email Address Extension';
var strFieldData = Values("field_emailaddress");
r = strFieldData.match(re);
Valid = false;
ErrorStr = strRuleMessage;
Its line 3 that needs the ability to not allow someone to enter me@Hotmail.com as the validation only works if someone enters email@example.com