Regular Expressions 101

Library entries

Twitch URL Regex

Vote

2

Regular Expression
python

"
(^http(s)?://)?((www|en-es|en-gb|secure|beta|ro|www-origin|en-ca|fr-ca|lt|zh-tw|he|id|ca|mk|lv|ma|tl|hi|ar|bg|vi|th)\.)?twitch.tv/(?!directory|p|user/legal|admin|login|signup|jobs)(?P<channel>\w+)
"
gm

Description

Loading markdown...
Submitted by Mio - 7 years ago