Sed substitution with back reference not working
<p>I receive output from a program as tab separated values, of which I am trying to obtain the second only using sed. I am currently using this:</p>

<pre><code>sed -r -e "s/(^[^\t]+\t)([^\t]+\t)(.*$)/\2/"
</code></pre>

<p>However it does not seem to find matches. I have tried it in <a href="http://rubular.com/" rel="nofollow noreferrer">rubular</a> were it does give me the match I want.</p>

<p><a href="https://i.stack.imgur.com/4ju5f.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4ju5f.png" alt="enter image description here"></a></p>