title: Replace only at the end of the string
body: <p><code>echo $string</code> can give any text.</p>
  
  <p>How do I remove word <code>"blank"</code>, <strong>only if it is the last word</strong> of the <code>$string</code>?</p>
  
  <p>So, if we have a sentence like <code>"Steve Blank is here"</code> - nothing should not removed, otherwise if the sentence is <code>"his name is Granblank"</code>, then <code>"Blank"</code> word should be removed.</p>