Regular Expressions 101

Community Patterns

Starts and Ends with 3 digits

1

Regular Expression
ECMAScript (JavaScript)

/
\d{3}\s.*?\s\d{3}
/
i

Description

String begins with 3 digits + whitespace character + any length of characters + white space + 3 digits

Submitted by anonymous - 8 years ago