Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
P0{5}(\d{4}):(.+)
/
gm

Description

An example of how to capture and chunk out a random string which includes the pager address and text to send, (with spaces)

Submitted by anonymous - 6 years ago