title: Convert timestamp in video description to link
body: <p>I have a page where users can add a video description. I want to be able to identify timestamps in the description similar to how YouTube does. From what I have seen, writing a regular expression is the best way to find these timestamps. Currently my script does not work.</p>
  
  <pre><code>function timestampify(text) {
      return text.replace(/\d+$/, '', '&lt;a data-time="$1" class="timestamp-link"&gt;$1&lt;/a&gt;')
  }
  /*
  Music used:
  0:00 - Rhythm Heaven - Rhythm Calligraphy
  1:46 - Mario Party 6 - Night at the Garage
  3:00 - POKEMON: Super Mystery Dungeon - Onward, Expedition Society!
  36:10 - Mario Party 9 - DK's Jungle Ruins
  47:23 - Rhythm Heaven - Rhythm Calligraphy
  01:03:23 - Rhythm Heaven Fever: Prologues - Power Calligraphy Prologue
  */
  </code></pre>