Regular Expressions 101

Sponsors

Library entries

0
pcre2

belcorp

test
Submitted by anonymous - 18 days ago
0
pcre2

C/F temp unit

me
Submitted by anonymous - 19 days ago
0
python

Postcode (UK)

Detects UK postcodes (minimal edge cases)
Submitted by anonymous - 20 days ago
0
python

PO Number

Detects specific prefixes followed by number series
Submitted by anonymous - 20 days ago
0
python

Credit Note

Detects specific word in a sentence
Submitted by anonymous - 20 days ago
0
pcre2

Postfix

Add DR to end of line
Submitted by anonymous - 20 days ago
0
python

dice thing

Stuff for a dnd thing
Submitted by Cata - 20 days ago
0
python

完形填空

完形填空
Submitted by anonymous - 21 days ago
0
python

恩更

非法发
Submitted by anonymous - 22 days ago
0
python

CPF|CNPJ

Match Brazilian documents
Submitted by Bacco - 22 days ago

PO BOX

Vote

1

Regular Expression
pcre

/
(^|[^A-Z]+)(P(O|0)?ST(AL)?[. ]*((O|0)FF(ICE)?)?[. ]*B(((O|0)?X)|IN)($|[^A-Z]))|(P(O|0)?ST(AL)?[. ]*((O|0)FF(ICE)?)?[. ]*B(((O|0)?X)|IN))($|[^A-Z])
/
i

Description

Loading markdown...
Submitted by jmweekes - 7 years ago