How to use Rules to perform a simple anti-spam validation using specific keywords? My site is under repeated attacks by spammers who create accounts manually with nonsense email addresses and &quot;fake&quot; IP addresses (no way to block them).
I came up with the idea of blocking node creation with the Rules module, using data comparison, but it does not work. Here is a summary of the rule I have:

Event : Before saving content
Conditions: text comparison : Parameter: Text: [node:body:value], Matching text: lexapro, etc. [how to make the list of words/expression? One per line?]
Actions : page redirect

Update: starting from the rule in this answer, I created a rule which will redirect to a page and unpublish the node, but only if the words are both in the title and in the body. I've tried to put an OR in the rule, but it didn't work.
{ &quot;rules_simple_antispam&quot; :
  {
    &quot;LABEL&quot; : &quot;Simple antispam&quot;,
    &quot;PLUGIN&quot; : &quot;reaction rule&quot;,
    &quot;OWNER&quot; : &quot;rules&quot;,
    &quot;REQUIRES&quot; : [ &quot;rules&quot; ],
    &quot;ON&quot; : { &quot;node_presave&quot; : [] },
    &quot;IF&quot; : [
      { &quot;text_matches&quot; : { &quot;text&quot; : [ &quot;node:title&quot; ], &quot;match&quot; : &quot;lexapro&quot; } },
      { &quot;text_matches&quot; : { &quot;text&quot; : [ &quot;node:body:value&quot; ], &quot;match&quot; : &quot;lexapro&quot; } }
    ],
    &quot;DO&quot; : [
      { &quot;redirect&quot; : { &quot;url&quot; : &quot;death-spam&quot; } },
      { &quot;node_unpublish&quot; : { &quot;node&quot; : [ &quot;node&quot; ] } }
    ]
  }
}

What do I need to change in my rule to make it work?
PS: I'm not a coder.
IMO you should use a captcha, such as:
reCAPTCHA

Uses the Google reCAPTCHA web service to improve the CAPTCHA system
and protect email addresses.


OR
Draggable Captcha


Here is an instruction video on how to set it up Drupal 7 Draggable Captcha - a more friendly way to prevent Spam 
If spam still happening, which means they are indeed human and not bots, you could implement a point system. Where users need to gain points by doing something (login x amount of days or comment x amount of times etc..)
To create nodes, users need to have x amount of points.
In addition, you could also implement spam flags, where users can flag content as spam and have the content be auto deleted if x amount of flags are raised.