title: MySQL string replace
body: <p>Hey, what's the most effective way to remove beginning and ending slashes from all rows in a particular column using MySQL?</p>
  
  <p><strong>Before:</strong></p>
  
  <pre><code>/hello/world/
  foo/bar/
  /something/else
  /one/more/*
  </code></pre>
  
  <p><strong>After:</strong></p>
  
  <pre><code>hello/world
  foo/bar
  something/else
  one/more/*
  </code></pre>
  
  <p>...or maybe this should be done in PHP instead?</p>