Regular Expressions 101

Community Library Entry

2

Regular Expression
Java 8

"
^[a-zA-Z0-9].[a-zA-Z0-9\._%\+\-]{0,63}@[a-zA-Z0-9\.\-]+\.[a-zA-Z]{2,30}$
"
gm

Description

Regular expression to check the email syntax validity. Certainly requires improvement, but it's a good basis to work from. Work with Java and JavaScript.

Submitted by Alain TOMASIAN <alain.tomasian@kaptus.fr> - a year ago (Last modified a year ago)