Textual Comparison not working when I search for <img tag in node body
Posted by eärendil on February 27, 2013 at 8:45pm
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