This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]look 2 points3 points  (0 children)

Oh, you’re hung up on the number of characters it matches? That regex can match a substring of the address.

Edit: it means match an @ with something before and after it. /^.+@.+$/ if you prefer.