Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
<slb:ReturnCode>([^<]*?)<\/slb:ReturnCode>[\s\S]*?<slb:Message>([^<]*?)<\/slb:Message>[\s\S]*?<slb:Message>([^<]*?)<\/slb:Message>[\s\S]*?<slb:Message>([^<]*?)<\/slb:Message>[\s\S]*?<slb:Count>([^<]*?)<\/slb:Count>|<slb:SerialNumber>([^<]*?)<\/slb:SerialNumber>[\s\S]*?<slb:Type>([^<]*?)<\/slb:Type>[\s\S]*?<slb:Outlet>([^<]*?)<\/slb:Outlet>[\s\S]*?<slb:Status>([^<]*?)<\/slb:Status>
/
gm

Description

no description available

Submitted by anonymous - 4 years ago