Ah I think I found a solution!
I use a template column and start with the Username. I can then replace rude words the character ‘!’. Then it’s a simple step to check to see if the template column has made a change…

(one extra step needed since the check is case sensitive: convert the name into lowercase using ‘Lowercase Text column’ and use this as the username reference in the template column)