Regular Expressions 101

Community Patterns

Email address validator - ASCII standard

0

Regular Expression
.NET 7.0 (C#)

@"
^\w+([.-]?\w+)*@\w+([.-]?\w+)*(\.\w{2,})+$
"
gm

Description

Checks whether the string is a valid email address per ASCII.

Submitted by rotors6472 - a year ago