Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Created·2016-06-02 16:02
Flavor·JavaScript

/
\b([a-zA-Z]{2,3}[\s]*[0-9]{3})\b
/
gm
Open regex in editor

Description

Match with courses like: AB123, AB 123, ABC123 or ABC 123

Submitted by Matheus Sampaio