Purifier
Purifier copied to clipboard
disable email / domain names / domains in User Input using regexp
I am looking at a way to do this but I didn't find a solution. I tried to add this to default to try disable email:
'Attr.IDBlacklistRegexp' => '/^[a-zA-Z0-9.!#$%&’*+/=?^_{|}~-]+@[a-zA-Z0-9-]+(?:.[a-zA-Z0-9-]+)*$/',`
but it's not working, user can input email and get it published. What is the method of doing thi?