Tokyo, Japan |

How to implement a banned words filter in Unity

If you use¬†a registration form in your Unity app, it’s a good idea to implement a profanity filter that prevents new users from signing up with usernames using prohibited¬†words.

An easy way to do this is with a plain text file and some simple coding in C# using a List. This method will work with non-English characters as well, so you could use it to filter out words in German, French, Japanese, Chinese and other languages. It’s also cross-platform and works on desktops and mobile devices.

Read More