title: how to check the valid Youtube url using jquery
body: <p>In Jquery i want to check the specific url from youtube alone and show success status and others i want to skip by stating it as not valid url</p>
  
  <pre><code>var _videoUrl = "youtube.com/watch?v=FhnMNwiGg5M";
  if (_videoUrl.contains("youtube.com"))
  {
    alert('Valid'); 
  } 
  else
  { 
    alert('Not Valid');
  } 
  </code></pre>
  
  <p>how to check with contains. or any other option to check the valid youtube url alone.</p>