Regular Expressions 101

Community Patterns

1

pm-problem

ECMAScript (JavaScript)
pm
Submitted by creamidea - 8 years ago

UK Companies Registration Number

0

Regular Expression
PCRE (PHP <7.3)

/
^\d{8,}|SC\d{6,}|NI\d{6,}|OC\d{6,}|RO\d{6,}|SO\d{6,}$
/
gi

Description

Loading markdown...
Submitted by Steve Haworth - 8 years ago