XF 2.2 Spam Phrases to catch email addresses.

JamesBrown

Well-known member
In my Spam Phrases I have this to catch spammers first posts that include links

/https?:|www\./i

I want it to catch emails in first messages in the same way. What can I add to have it do this?

I did ask Chat GPT what I could add to the Spam Phrases, and it came up with this. Would it work?

/https?:|www\.|[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}/i
 
There is still a little humanity in us when we ask real people to validate the answers of an artificial intelligence.
I can't wait for the response, I would use the same anti SPAM phrase in my forum, thanks for the info @JamesBrown

Furthermore, where do you enter these phrases in the ACP XF?
 
Back
Top Bottom