<p>Wouldn't <code>sed(1)</code> do the trick?  That is, a command line such as the following?</p>

<pre><code>command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 8080 | sed 's/^TCP //'
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br><a href='https://github.com/monitoring-plugins/monitoring-plugins/issues/1240#issuecomment-35419631'>Reply to this email on GitHub</a>.<img src='https://github.com/notifications/beacon/5514713__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcwODI4MjY0MiwiZGF0YSI6eyJpZCI6MjU5MDA5MTN9fQ==--8588132bcf701109e07c523d48aa34cbc3d30a96.gif' height='1' width='1'></p>