Last post Mar 29, 2018 07:18 AM by Brando ZWZ
Mar 28, 2018 02:01 PM|ritul29|LINK
I am trying to write a regular expression which is not allowed "@knights.gannon.edu" OR "@gannon.edu"
So far, I have done this "^[@(?:knights.gannon|gannon).edu]" but its not working. Any suggestion what I did wrong here?
Mar 29, 2018 07:18 AM|Brando ZWZ|LINK
According to your description, I suggest you could try below regular expression.
The regex above will match any string, or line without a line break, not containing the (sub)string '@knights.gannon.edu' or '@gannon.edu'.