title: Regex - Search from the end of the string
body: <p>How do i target something from the end of a string :
  <br>
  <code>complexthing---50</code>
  <code>other-_-50</code>
  <code>MORE__------50</code></p>
  
  <p>i want to end up with (50) but this "complexthing--" can end with - so in this case i cant break at " - " from the begging that might make it be confused so the easiest regex for me is to make it get whatever at the end and break at " - "</p>
  
  <pre><code>-(.*)
  </code></pre>
  
  <p><b> there is always a <i>-</i> before every 50</b> to seperate the number and the string, i want to target the number (50)</p>