Regular Expressions 101

Community Patterns

0

custom email

.NET 7.0 (C#)
custom email
Submitted by anonymous - a year ago
0

sdfsfd

.NET 7.0 (C#)
sdfdsf
Submitted by anonymous - 2 years ago
0

Guid parser

.NET 7.0 (C#)
Guid parser
Submitted by anonymous - 2 years ago

Phone number for all countries

2

Regular Expression
.NET 7.0 (C#)

@"
^(?<code>\+?\d{1,3})[-\s]{0,}(?<number>\(?\d{3}\)?[-\s]{0,}\d{3}[-\s]{0,}\d{2}[-\s]{0,}\d{2})$
"
gm

Description

Loading markdown...
Submitted by Alexander Smirnov - a year ago