title: Expression after last specific character
body: <pre><code>foo=&quot;/sdf/here/jfds&quot;
  bar=&quot;${foo##*/}&quot;
  </code></pre>
  <p>Can anyone explain how the &quot;<code>${foo##*/}</code>&quot; expression works? I understand it will return the string after the last forward slash (i.e. jfds). However, I have no idea how it does or what this type of expression is called?</p>