Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
^[-_\p{L}\p{N}\p{sc=Deva}\p{sc=Thai}]{1,32}$
/
gmu

Description

Verification of Application Command names for Discord's API. Useful for Discord applications.

Source : discord.dev

Submitted by volcanofr - 2 months ago