Ques/Help Regular Expression in Spam Management

A

Anthony Parsons

Guest
I want to use a regular expression in the spam management "spam phrases" box, to automatically send all posts with a link or email in them to moderation. I asked chatgpt, but want to confirm it is correct. It gave me:

/(?i)(?:https?:\/\/\S+|www\.\S+|[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}|\b(?:[A-Za-z0-9-]+\.)+[A-Za-z]{2,}\b)

Continue reading...