#!/bin/bashs="variable1=XXX, emotionType=sad, sentimentType=negative, emotionType=happy"grep -o "emotionType=[^,]*" <<< "$s"
Standard input is empty
emotionType=sad emotionType=happy
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!