Hello everyone, today I will guide you on how to only allow registration with the first letter capitalized, followed by lowercase letters, hyphens, and dashes to prevent spam on your forum. To do this, you need to go to domain/admin.php?options/groups/usersAndRegistration, then find "Username match regular expression:" and enter
Code:
/^[a-zA-Z][a-z0-9_-]+$/
That's it, you're done!