fork(210) download
  1. #!/bin/bash
  2. json='{"access_token":"kjdshfsd", "key2":"value"}'
  3.  
  4. echo $json | grep -o '"access_token":"[^"]*' | grep -o '[^"]*$'
Success #stdin #stdout 0.01s 5308KB
stdin
Standard input is empty
stdout
kjdshfsd