title: remove part of text in a div using javacript
body: <p>I would like to remove part (4 first characters) of a text in a list of span tags (filtered by the class name):</p>
  <pre class="lang-html prettyprint-override"><code>&lt;span class=&quot;time&quot;&gt;00:00:50&lt;/span&gt;
  &lt;span class=&quot;time&quot;&gt;00:01:22&lt;/span&gt;
  &lt;span class=&quot;time&quot;&gt;00:02:44&lt;/span&gt;
  </code></pre>
  <p>I would like to get this:</p>
  <pre class="lang-html prettyprint-override"><code>&lt;span class=&quot;time&quot;&gt;0:50&lt;/span&gt;
  &lt;span class=&quot;time&quot;&gt;1:22&lt;/span&gt;
  &lt;span class=&quot;time&quot;&gt;2:44&lt;/span&gt;
  </code></pre>
  <p>I try some codes using <code>text.substr(1, 4)</code> but none of them works.<br />
  Could someone help me?</p>