We often see music videos on Youtube. Many Youtube channels that host music videos are "powered by VEVO". Those can be easily identified by both embedding VEVO at their video thumbnails and appending VEVO to their channel name.
Now write some code to test whether a string given by user is a VEVO user account or not.
Requirements for valid VEVO user account strings:
Must only contain uppercase, lowercase, and digit characters. (no whitespace or punctuation)
Must not exceed 80 characters length.
Must have "VEVO" substring at the end of string
Test cases:
Valid inputs:
AdeleVEVO
ConnieTalbotVEVO
SHMVEVO
justimberlakeVEVO
DJMartinJensenVEVO
test123VEVO
Invalid inputs:
syam kapuk
jypentertainment
Noche de Brujas
testVEVO123
Of course, because this is code-golf, I'm looking for the shortest code using any programming language.
VEVO
andūņīčōdēVEVO
\$\endgroup\$test123VeVo
and one with more than 80 characters \$\endgroup\$ạ
andẠ
and digits in other alphabets, for example九
(9). \$\endgroup\$