This regex can match with a valid YouTube link and retrieve the video ID in one of the four capturing groups. Unfortunately, I couldn't manage to use a single capturing group, but there is no difference between all of them.
Submitted by Lyroy TheToad - 3 years ago(Last modified 3 years ago)