Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
^(?!.*?\.{2,})[a-z0-9_\.]{2,32}$
/
mg

Description

Validates if a username is valid or not on the new discord username system

Submitted by anonymous - a year ago