I have a following string output.
{"uri":"/login-sessions","cookie":"sessionId=lhadasdfsdffdhjseodfjdksfjlsdjflsdjfldfjlsdf"}
I wanted to extract only "sessionId=lhadasdfsdffdhjseodfjdksfjlsdjflsdjfldfjlsdf"
using sed and grep.
Tried the below command but i dont see any output
grep -`E ""cookie":"
Note : Above is a sting and not json dict. Not sure what needs to be done here. Can you help me out ?