Regular Expressions 101

Community Patterns

Community Library Entry

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 - 2 years ago