I have the following string:
[1360308597] SERVICE NOTIFICATION: qreda;demo-jms2;OutConnectorResponse;notify-service-by-email;CRITICAL ConsumerCount=0[1360308817] SERVICE NOTIFICATION: qreda;demo-jms2;Disk Space;CRITICAL;notify-service-by-email;DISK CRITICAL - free space: /data 3018 MB (10% inode=92%):
In the above string I want to extract the string following demo-jms2. Here demo-jms2 occurs twice. I want to get all words following demo-jms2 so the answer should be
OutConnectorResponse and Disk Space.