Last active
April 24, 2024 07:30
-
-
Save brunodles/927fd8feaaccdbb9d02b to your computer and use it in GitHub Desktop.
This is a youtube regex to get video id
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(?:https?:\/\/)?(?:www\.)?youtu\.?be(?:\.com)?\/?.*(?:watch|embed)?(?:.*v=|v\/|\/)([\w\-_]+)\&? |
thanks a lot!
There are more YouTube URLs, take a look here https://gist.github.com/Kaligula0/1ff5f4e2cf1f351daeca3450f71fdcb5 and here https://gist.github.com/rodrigoborgesdeoliveira/987683cfbfcc8d800192da1e73adc486
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
♥