Community Patterns

Community Library Entry

0

Regular Expression
Created·2015-07-15 14:34
Flavor·ECMAScript (JavaScript)

/
([a-zA-Z0-9/<]){9}[0-9]([A-Za-z]){3}([0-9]){6}([0-9])([MmFf\<])([0-9])([0-9]){6}([a-zA-Z0-9/<]){14}([0-9]){2}
/
gm
Open regex in editor

Description

Second line of the machine readable passport, based on the excellent article here - http://www.highprogrammer.com/alan/numbers/mrp.html

Submitted by Leigh Garland