I am using Regex to validate email address because I need to prevent users from using free email accounts such as gmail or outlook and ... .
I have the following and it works fine:
When I test the following line in Regex tested it works but it doesn't work in Chronoform:
Thanks
I have the following and it works fine:
^\b[\w\.-]+@((?!gmail|outlook|hotmail).)[\w\.-]+\.\w{2,4}\b$The problem is that with the above Regex users can register with abc@GMAIL.com. The above Regex is not case sensitive.
When I test the following line in Regex tested it works but it doesn't work in Chronoform:
^\b[\w\.-]+@((?!(?i)gmail|outlook|hotmail).)[\w\.-]+\.\w{2,4}\b$I'm not sure why the above line doesn't work in CF 6.
Thanks