title: How can I convert two or more dashes to singles and remove all dashes at the beginning and end of a string?
body: <p>Example: <code>-this--is---a-test--</code></p>
  
  <p>What I want: <code>this-is-a-test</code></p>
  
  <p>Thanks for any answers! :)</p>