title: parse youtube input links and get youtube ID using jquery ?
body: <p>I know lots of people asked this sort of question alot but unfortunetly I couldn't sort out my problem .</p>
  
  <p>I have this code in my textarea editor to input a youtube link :</p>
  
  <pre><code>{name:'youtube', key:'Y', replaceWith:'[youtube][![Youtube video Url]!][/youtube]'},
  </code></pre>
  
  <p>It will ask for youtube video url in a popup window and after that it will put the url between [youtube] and [/youtube].</p>
  
  <p>I would like to have a youtube parser added to it then if member puts youtube url , it will parse the url and get the youtube video ID and input it in the text area like this :</p>
  
  <p>[youtube] ID [/youtube]</p>
  
  <p>Thanks in advance for your help .</p>