I found this regex:
^[^\s()<>@,;:\/]+@\w[\w\.-]+\.[a-z]{2,}$
but I have 2 problems with it:
- I can't enter a single letter domain - like: a@a.me
- I can enter slashback \ which is not valid
Can you help fixing this?
I found this regex:
^[^\s()<>@,;:\/]+@\w[\w\.-]+\.[a-z]{2,}$
but I have 2 problems with it:
Can you help fixing this?
 
    
    \w[\w\.-]+ reads "a alphanum char followed by one or more alphanumchar, dot or dash". You thus need \w[\w\.-]*: "a alphanum char followed by zero or more alphanumchar, dot or dash".
[^\s()<>@,;:\/] lists all the chars that are not allowed: \s()<>@,;:/ (\/ is actually an escaped /). You thus need to add the (escaped) backslash: [^\s()<>@,;:\/\\].
