textual comparison

Events happening in the community are now at Drupal community events on www.drupal.org.
eärendil's picture

Textual Comparison not working when I search for <img tag in node body

I have been trying to create a trigger so that when someone updates a page node by inserting an image into the body it will send me an email. So, in other words, I want the trigger to act (send an email) if it finds an img tag in the body of the updated node.

Event:
After updating existing content
ON even After updating existing content

If

Two texts to compare:
Text1:

<?php
print $body;
?>

Text2: /<img/gi
**I have evaluate text2 as regular expression checked. Read more
Subscribe with RSS Syndicate content