on-internet
← Community

How to make an input mask for email?

Stack Overflow ·

To create a mask, I use angular2 text mask. I can't figure out how to make an input mask for email. Tried so: public emailMask = [/[a-z]/, '@', /[a-z]/, '.', /[a-z]/ ] But nothing works. Adds only two characters one in front of the other behind. How can I make an input mask for e-mail (Other tools for masking on the angular 2+ are welcome).

Comments

Sign in or sign up to comment and upvote.

No comments yet.