1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 19:42:38 +02:00

Subrcibe button

This commit is contained in:
daniel 2017-06-12 20:02:34 -03:00
parent 64bc4109d2
commit 59e68d7d83
62 changed files with 52676 additions and 81 deletions

View file

@ -93,3 +93,9 @@ function secondsToStr(seconds, level){
}
}
function validateEmail(email) {
var re = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
return re.test(email);
}