Needs to only contain [a-zA-Z0-9.], and followed by an @ then the same match afterward, the match before, and after the @ shouldn't be any longer than 64 characters long, and at least one length.
^([a-zA-Z0-9\-\.]+){1,64}@([a-zA-Z0-9\-\.]){1,64}$ This seems to work but it sometimes takes forever, why is this?
+and{1,64}? That allows any number of characters. Remove the+, and if you just want to test "does it match" you can remove all of the parentheses.^([a-zA-Z0-9\-\.]{1,64})@(\1)$Like this?