A
A
artem2021-07-28 22:54:40
Android
artem, 2021-07-28 22:54:40

And how does Google check the input field for extraneous characters?

I'm trying to repeat the account registration procedure like in Google on android. I ran into a problem with input validation. I started using regular expressions, it seems to be suitable for a name, but not very much for mail. How is it done in Google?

Ps share the article, if there is one, I will be grateful!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
LoliDeveloper, 2021-07-29
@LoliDeveloper

^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5}) $

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question