I'm trying to get this sed command to work correctly. I need to retrieve a specific "string" from: terms_id=string&location
below is what i'm working with so far.
below is what i'm working with so far.
Code:
sed -ne 's/^.*terms_id=\([^&]*\)&.*$/\1/'



Comment