Regular Expressions 101

Community Patterns

Twitch Link Filter

0

Regular Expression
Python

r"
(?i)\b(?=https?:\/\/|)(?<!clips\.)twitch\.tv\/(?!minokawa95)\b
"
gm

Description

Filter unauthorized twitch channel links. Its possible to add more allowed channels:

(?!minokawa95|minokawa96)

Submitted by anonymous - 4 years ago