Regular Expressions 101

Community Patterns

Simple first exercise of a newbie

1

Regular Expression
ECMAScript (JavaScript)

/
([A-Z]{3})-([A-Z]{3})-([A-Z]{3})
/
mg

Description

Find a group of 9 letters subdivided in groups of three by a dash.

Submitted by Nicola Jelmorini - 9 years ago