Get download url from youtube htmlcontent getting error
<p>here is way to do it.. but it's showing error in row of split.. I don't know how to fix it.. please help..</p>

<pre><code>private String getDownloadUrlFromHtmlContent(String htmlContent) {
    String downloadUrl = null;
    String[] videoIdMatches = htmlContent.split(/\"video_id\":\s*\"([^\"]+)\"/);
    return downloadUrl;
}
</code></pre>
