I am building a very basic profanity filter that I only want to apply on some fields on my application (fullName, userDescription) on the serverside
You are matching via a substring comparison. Your Regex needs to be modified to match for whole words instead