Useful Regular Expressions (regex)

You, RegExJavaScript
Back

Grab the Playlist ID from a YouTube playlist URL

^.*?(?:list)=(.*?)(?:&|$)

Example string

https://www.youtube.com/watch?v=nKXuYvpg2hE&list=PLERasyubmasWWIUBN8-pwoEzKSsU7iTT0
© Heshan Wanigasooriya.RSS

🍪 This site does not track you.