Regular Expressions 101

Library entries

Eastlink Retrieve Customer data from SSL API

Vote

0

Regular Expression
pcre

/
<Message .*?: .*?: (?<errormess>.*?)<\/Message>.*?|<PaymentProfileSummary><Id>(?<proID>.*?)<\/Id>|<RecurringSchedule>.*?<RecurringScheduleId>(?<reschedID>.*)<\/RecurringScheduleId>.*?<AccountType>(?<acctType>.*?)<\/AccountType>.*?<MaskedAccountNumber>(?<maskCC>.*?)<\/MaskedAccountNumber>.*?<PaymentProfile>.*?<Id>(?<profileID>.*?)<\/Id>.*?<Name>(?<recurName>.*?)<\/Name>.*?<IsDefault>(?<isdefault>.*?)<\/IsDefault>.*?<Status>(?<status>.*?)<\/Status>.*?<Instrument i:type="(?<pmttype>.*?)">.*?<MaskedAccountNumber>(?<maskCC2>.*?)<\/MaskedAccountNumber>.*?<ExpirationMonth>(?<expmon>.*?)<\/ExpirationMonth>.*?<ExpirationYear>(?<expyear>.*?)<\/ExpirationYear>.*?<CardType>(?<cctype>.*?)<\/CardType>.*?<FirstName>(?<fname>.*?)<\/FirstName>.*?<LastName>(?<lname>.*?)<\/LastName>.*?<Line1>(?<add1>.*?)<\/Line1>.*?<PostalCode>(?<postcode>.*?)<\/PostalCode>.*?<Country>(?<country>.*?)<\/Country>.*?<BillingAccountId>(?<billingAcct>.*?)<\/BillingAccountId>
/
gm

Description

Loading markdown...
Submitted by anonymous - 2 months ago