Regular Expressions 101

Community Patterns

Eastlink Account retrieve with locationId

0

Regular Expression
PCRE (PHP <7.3)

/
<slb:ReturnCode>(?<ReturnCode>.*?)<\/slb:ReturnCode>.*?(?:<slb:Message>(?<FailureMessage>.*?)<\/slb:Message>|<slb:SearchResultsCount>(?<Count>\d)<\/slb:SearchResultsCount>).*?<slb:CustomerId>(?<CustomerID>.*?)<\/slb:CustomerId>.*?<slb:AccountId>(?<AccoundId>.*?)<\/slb:AccountId>.*?<slb:LocationId>(?<LocationId>.*?)<\/slb:LocationId>
/
gm

Description

no description available

Submitted by anonymous - 3 years ago