Regular Expressions 101

Community Library Entry

2

Regular Expression
ECMAScript (JavaScript)

/
^[0-9a-zA-Z-_\$#]+@[0-9a-zA-Z-_\$#]+\.[a-zA-Z]{2,5}
/

Description

Very crude, but effective email validation.

Submitted by Ryan Oaks - 10 years ago