1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 Help with Regex for spam phrase.

Discussion in 'XenForo Questions and Support' started by tafreehm, Sep 15, 2014.

  1. tafreehm

    tafreehm Well-Known Member

    Hey there, I wanna create a rule where multiple words are found in a post it triggers the spam action. I entered this
    How can I set this where all words needs to be present in the message in any order. Right now, it return true when one of them is found.

  2. Mike

    Mike XenForo Developer Staff Member

    Off the top of my head, something like:
    It's not perfect because it could match word1 5 times and none of the others. If you really want to require all 5 (or more words) words, you'd probably be better doing it with an add-on.
  3. tafreehm

    tafreehm Well-Known Member

    seems to be working ok. thanks

Share This Page