Regular Expressions 101

Community Patterns

Email Validation

1

Regular Expression
.NET 7.0 (C#)

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

Description

Basic email address validation example

Submitted by Jeff Mills - 21 days ago