Apply regex on JQ
<p>I´m using jq to get a json and get some values.</p>

<p>I have this string </p>

<pre><code>   "arn:aws:ecs:eu-west-1:foo:task/blablabla"
</code></pre>

<p>And I want to get the substring from task/ and then return just blablabla</p>

<p>For now I have this regex.</p>

<pre><code> (.*task?)\/(.*$)
</code></pre>

<p>Which give me two groups.</p>

<p>Any idea how using jq I can apply this regex and get the second group?</p>

<p>Regards</p>