Regular Expressions 101

Sponsors

Library entries

0
pcre

Time format

38 Seconds
Submitted by anonymous - 8 days ago
0
pcre2

Fetch Username and IP

Splunk
Submitted by anonymous - 8 days ago
0
pcre2

HTML Tag Selector

T
Submitted by Rahul - 9 days ago

PO Box Address Validation

Vote

2

Regular Expression
pcre

/
(?(?=^P)P((?:(?:ost)?))(?:\.)?(?:\s+)?O(?:ffice)?(?:\.)?(?:\s+)?B(?:ox)?(?:\.)?(?:\s+)?(?:\#)?(?:[a-z0-9]+(?>\d{1,})(?:\w+)?)$|^Box(?:\.)?(?:\s+)?(?:\#)?(?:[a-z0-9]+(?>\d{1,})(?:\w+)?)$)
/
igm

Description

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