I have a folder containing multiple files, each file contains a string like
  "tree": "/a/anything-here/b/"
for each file I need to replace the content between inner "//" in this case "anything-here" with a string
I am using sed command with no success, could you help me?
sed -i 's/"root": a/b" .
 
    