Regular Expressions 101

Community Patterns

MW: FIX log records for lastfill

1

Regular Expression
PCRE (PHP <7.3)

/
(\d{8} ..:..:..).*orderID:\[(.*?)\].*sid:\[(.*?)\].*ticker:\[(.*?)\].*venue:\[(.*?)\].*lastFill:\[([1-9][0-9]*)\]
/

Description

To grab date, orderId, SID, ticker, venue, lastfill from a string

Submitted by anonymous - 8 years ago