title: Match special characters at the end of string with Regex
body: <p>I want to match special characters appearing at the end of a string or word. Special characters are <code>\.,;:-_</code>.</p>
  
  <p>What regex pattern can be used for this?</p>