• I am looking for a way to automatically remove URLs and email addresses from comments. I’ve been searching but all I find is either simple word filters or posts about removing the email field from the comment post form.

    I need to remove email addresses that people type in the comments.

    Preferably also filter out common attempts to get past the filter, like adding spaces or replacing “@” with “(at)” etc…

Viewing 1 replies (of 1 total)
  • This is not as easy as you might think. There are a hundred ways to mangle an email address. The best you can do is put together as series of filters that catch the ones you consider the most common. Just start with the filters you have found and tweak them. Sorry, that is probably not what you wanted to hear.

Viewing 1 replies (of 1 total)
  • The topic ‘Remove URLs and EMAIL from comments’ is closed to new replies.