On Tue, Jun 17, 2014 at 9:57 PM, Mohan R <[email protected]> wrote:

> Hello Regex Gurus,
>
> I need help handling this particular situation
>
> In a log file, I have a line like this,
>
> 2014-06-17 13:55:14: IncomingData: TMSUpdateCallback:
> { SourceID=JP000456712 Ric=0388.HK BuyQty=3800.0 TradeTime="2014-06-17
> 13:54:19" DestID="" ExchangeTransCode="65725497 89897456 523 1"
> Account="PTBHK01" }
>
>
How are you? If this is related to office work, then you owe me! :)
Check whether this fits your req.

result = re.findall("\w+=.+?(?=\s+\w+=|\s+})",feedstr,re.M|re.I|re.X)

Uday.
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines

Reply via email to