Regular Expressions 101

Library entries

Regex validate PIN code (Solution www.codewars.com)

Vote

0

Regular Expression
javascript

/
^(?:\d{4}|\d{6})$
/
gm

Description

Loading markdown...
Submitted by anonymous - 2 years ago