Unity logo
Cancel
Cart
Applications
Sell Assets

Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
GUI
1/1
Word Filter is an efficient simple way of filtering text for words or phrases. Word Filter comes with a list of recommended words and phrases to filter, with the ability to add or remove any that you want.

Demo

Reference

Example Use Case
If you wanted to filter out the word "ham". You can choose to replace the word with any provided string or just "***". This will work even with "h-a-m" or "hA_m" or "!h-a_m!".
If you add "ham" to the list of exact match words, instead of the partial match ones, "ham" will still be filtered, but not the "ham" in "hamster".

Finally
There are two classes for performing the filtering, the WordFilter and TWordFilter, TWordFilter is a multithreaded version of the WordFilter class, and produced the same result, however does not stop the code to wait for the result.

Word Filter

(not enough ratings)
14 users have favourite this asset
(14)
FREE
License type
File size
46.5 KB
Latest version
1.0.3.1
Latest release date
Mar 14, 2021
Original Unity version
3.5.7
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR