Regular Expressions 101

Community Patterns

Community Library Entry

-1

Regular Expression
ECMAScript (JavaScript)

/
^[0-9]{9}[vVxX]$
/

Description

Regular Expression to validate NIC of Sri lankna (National Identity Card)

Submitted by Sithira Munasinghe - 8 years ago