Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Java 8

"
^K?A?\d{1,2}\w{2}\d{3,4}\s|$
"
gm

Description

Checks the registration number's validity

Submitted by Sid - 3 years ago