1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2014
    Rep Power

    How to ban the string http?


    I am using fast secure contact form for my website. I am getting a lot of spam recently.

    in the back end of fast secure contact form, I can have a regex for every field like the name field, the phone number field, and the message field.

    I noticed all the spam messages contain a link in the message field. So if I ban the sequence http that should stop all the spam.

    What regex can I use so that if the message contain http the message is not sent? and I prefer case insensitive so HTTP and Http are also rejected.
  2. #2
  3. Impoverished Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Washington, USA
    Rep Power
    It will not. They will just change their message to get around your filter.

    Use CAPTCHA.

IMN logo majestic logo threadwatch logo seochat tools logo