I am trying to find and match from video links like this :
So the last part which is HTFeu is needed and with bellow code I am verify the video link but I have problem with regExp statement.
var vurl = jQuery("#y_link").val();
var regExp = /^.*((aparat.com\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#\&\?]*).*/;
var match = vurl.match(regExp);
if (match && match[7].length == 6) {}
else {
alert("video link is not valid");
return false;
}