kwb
12-02-2005, 10:05 AM
Hi,
I need to separate tags that are all grouped together with no spacing in between eg,
2005-11-28 15:51:22: DEBUG: importFixPumpdata: 2005/11/18 00:06:46:187: FIXPump: Received data on connection {CLIENT} [8=FIX.4.29=024335=D50=DCN3230197=N57=RISKGATEWAY34=93849=CLIENTFUT_EXLINK56=EXLINK_CLIENT43=N52=2005 1118-05:06:46200=200512207=Japan40=255=TSE 01 0F2005Z11=fud630_20051118167=FUT54=159=044=138.0821=238=1560=20051118-05:06:461=ATOP1110=032]
Between the [] there are a number of FIX tags, eg '8=FIX.4.2' and there are no spaces in between, so the next FIX tag immediately follows the previous one, 8=FIX.4.29=02433 and so on (8=FIX.4.2 9=02433). Any ideas on how I can separate them? I have tried a number of REGEX and using split.
PS They are all on the one line as well.
Many thanks
KWB
I need to separate tags that are all grouped together with no spacing in between eg,
2005-11-28 15:51:22: DEBUG: importFixPumpdata: 2005/11/18 00:06:46:187: FIXPump: Received data on connection {CLIENT} [8=FIX.4.29=024335=D50=DCN3230197=N57=RISKGATEWAY34=93849=CLIENTFUT_EXLINK56=EXLINK_CLIENT43=N52=2005 1118-05:06:46200=200512207=Japan40=255=TSE 01 0F2005Z11=fud630_20051118167=FUT54=159=044=138.0821=238=1560=20051118-05:06:461=ATOP1110=032]
Between the [] there are a number of FIX tags, eg '8=FIX.4.2' and there are no spaces in between, so the next FIX tag immediately follows the previous one, 8=FIX.4.29=02433 and so on (8=FIX.4.2 9=02433). Any ideas on how I can separate them? I have tried a number of REGEX and using split.
PS They are all on the one line as well.
Many thanks
KWB