Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
^([MN][\w-]{23,25})\.([\w-]{6})\.([\w-]{27,39})$
/
gm

Description

JS/TS regex for token validation.

Submitted by anonymous - a year ago