title: I want to extract specific char by using sed command
body: <p>I want to extract <code>/battle/result</code> from following the txt file</p>
  
  <pre><code>$ cat sample
  user_id=1234 /battle/start
  </code></pre>
  
  <p>I run following the sed command</p>
  
  <pre><code>$ cat sample | sed 's|.*\(/.*\)|\1|g'
  /start
  </code></pre>
  
  <p>But, result is deleting <code>/battle</code>, so I can't extract it as I want. </p>
  
  <p>What is wrong with it?</p>