title: REGEX How to get start time of youtube URL in Javascript
body: <p>I have the following regex that I'm using in Javascript:</p>
  
  <pre><code>/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&amp;v=)([^#\&amp;\?]*).*/
  </code></pre>
  
  <p>It gets me the video ID correctly. I want to expand it to extract start time of videos:</p>
  
  <p>I know there are at least two formats (if not more): "t="  and  "start="</p>
  
  <p><a href="http://youtu.be/xxxxxxxx" rel="nofollow">http://youtu.be/xxxxxxxx</a>?<strong>t=30s</strong></p>
  
  <p><a href="https://www.youtube.com/watch?v=xxxxxxxx" rel="nofollow">https://www.youtube.com/watch?v=xxxxxxxx</a><strong>&amp;start=30</strong></p>
  
  <p>thanks,</p>