Regular Expressions 101

Community Patterns

Community Library Entry

-1

Regular Expression
Python

r"
^<@[0-9]*>$
"
gm

Description

Regex to check if a string is a discord mention

Submitted by anonymous - 2 years ago (Last modified 2 years ago)