Anarchy Online had a user-configurable chat filter as well. It used regular expressions so you could make very sophisticated filters if you knew how. Players regularly circulated a list of filters against common credit seller spam. I believe something like this shouldn't be too complex to implement into FFXIV, since it can be entirely client-side and has a very narrow scope.