Regular Expressions 101

Community Patterns

0

Get digits

Golang
Trying to get digits
Submitted by Arthur Silva - 10 months ago
0

walter1976LastClean

Golang
walter1976LastClean
Submitted by anonymous - 10 months ago
0

pxc plcnext

Golang
plcnext version strings
Submitted by anonymous - a year ago
0

domain

Golang
ss
Submitted by sssssss - a year 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