Regular Expressions 101

Library entries

Eastlink - get customer location equipment with returncode

Vote

0

Regular Expression
pcre

/
<slb:ReturnCode>([^<]*?)<\/slb:ReturnCode>[\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

Loading markdown...
Submitted by anonymous - a year ago