I found this on google http://fffff.at/googles-official-list-of-bad-words/
And many other results, I donβt know if you just want to copy and paste into your own script or read it to get an idea of ββwhat words they forbid.
If you are planning to implement this yourself, be aware of the Scunthorpe problem . Basically, when decent words get banned because they have a word in spelling.
Judging by your post, you want this for usernames, I would then allow them to create a user (if it does not exist from c), but send a notification to the moderator, if it is really double-digit, then force the name to be changed and deny until you finish.
source share