Regular Expressions 101

New Discord Username

Open Workspace
  • JavaScript
  • Match
0

Regular Expression

/
^(?!.*?\.{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