Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
^([A-Z]{2}\s)([A-Z]{3}\s)([0-9]{1,7}\s)([0-9]{3}\s)?([0-9]{1,7})$
/
gm

Description

matches the format of EPF number. For further details visit here https://www.bankbazaar.com/saving-schemes/all-about-the-employee-pf-account-number.html#format

Submitted by anonymous - 5 years ago