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:
sed -r -e "s/(^[^\t]+\t)([^\t]+\t)(.*$)/\2/"
However it does not seem to find matches. I have tried it in rubular were it does give me the match I want.