Shell script regex rename
<p>Hi I am trying to rename 1000 of files from </p>

<p><code>xyzPL 7-1-16 page1+2(1).xlsx</code> into <code>7-1-16.xlsx</code></p>

<p><code>xyzPL 12-1-16 page1+2(1).xls</code> into <code>12-1-16.xls</code></p>

<p><code>xyzPL 12-10-16 page1+2(1).xls</code> into <code>12-10-16.xls</code></p>

<p>So far I have following for loop</p>

<pre><code>for in *.xls; do echo mv "$f" "${f/_*_/_}"; done
</code></pre>

<p>What the expression should I put for <code>${f/_*_/_}</code></p>

<p>Thank you!</p>