Regular Expressions 101

Community Patterns

Your search did not match anything

Community Library Entry

1

Regular Expression
Python

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

Description

this is mainly targeted for Discord bots using Python3 /shrug

haters can please cry below

Submitted by owocado - a month ago