Community Patterns

Community Library Entry

1

Regular Expression
Created·2025-03-26 12:28
Flavor·Python

r"
https:\/\/tenor\.com\/(?:[a-z]{2}(?:-[A-Z]{2})?\/)?view\/(?P<image_slug>[a-zA-Z0-9%-]+-(?P<image_id>\d+))
"
gm
Open regex in editor

Description

this is mainly targeted for Discord bots using Python3 /shrug

haters can please cry below

Submitted by owocado