Social
YouTube URL
Matches standard YouTube video URLs
/^(https?:\/\/)?(www\.)?(youtube\.com|youtu\.be)\/.+$/
Type in the box above to test if your input matches the regex pattern.
Test Cases
Tags
#social
#video
#url
Matches standard YouTube video URLs
Type in the box above to test if your input matches the regex pattern.