Daryl Daryl - 6 months ago 66
Android Question

Explanation for email pattern

I got email pattern in different types from google and SO. But i can't understand the pattern .Please anybody give me an explanation for the following pattern. Thank in advance.

"[a-zA-Z0-9\\+\\.\\_\\%\\-\\+]{1,256}" +
"\\@" +
"[a-zA-Z0-9][a-zA-Z0-9\\-]{0,64}" +
"(" +
"\\." +
"[a-zA-Z0-9][a-zA-Z0-9\\-]{0,25}" +
")+"

Answer

The explanation: regex101 exaplanation