I need your help/pointers on extracting couple of words through regex. I have a line that is stored in a file (line shown below). I need to extract the values of two words (time and interface) and store them in a variable for further calculations.
{"record-type":"int-stats","time":1389309548046925,"host-id":"a.b.c.d","interface":"ab-0/0/44","latency":111223}
So the values of time and port needs to be stored in two different variables.