Regular Expressions 101

Library entries

Parsing BWPROMO

Vote

1

Regular Expression
pcre

/
^boingo\/bwpromo!(?:(1)|(2)|(3))\|(?<bpMac>[^|]*)(?(1)|\|(?<bpConnectCount>[^|]*))\|(?<bpSessionTimeout>[^|]*)\|(?<bpRetake>[^|]*)\|(?<bpFeatures>[^|]*)\|(?<bpGroup>[^|]*)\|(?<bpCampType>[^|]*)\|(?<bpCampId>[^|]*)\|(?<bpVenueId>[^|]*)\|(?<bpHotspotId>[^|]*)(?(1)|\|(?<bpExtId>[^|]*))\|(?<bpAuthWithCid>[^|]*)(?(3)\|(?<bpIdleTimeout>[^|]*)|)\|(?<bpTimeStamp>[^|]*)$
/
gm

Description

Loading markdown...
Submitted by anonymous - 6 years ago