Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Rust

r"
\b[(]?(?P<areaCode>\d{3})[)]?[ .-](?P<phone>\d{3}[ .-]\d{4})\b
"
gs

Description

not fully featured, but simple.

Submitted by Jakersnell - a year ago