I am puzzled. I am trying to remove spam that is concerned with "watches", where the "w" is written as "\/\/" using forward and backward slash characters. Using "obfuscation" doesn't seem to do the job in this case, so I have tried:
if SUBJECT CONTAINS "\/\/atches" weight 51
However, that doesn't work either. If I was trying to use a regular expression, I presume that I would need to "escape" the / character, but I thought that "CONTAINS" was quite literal. What am I doing wrong?
Thank you
Gordon
<P>I am puzzled.&nbsp; I am trying to remove spam that is concerned with "watches", where the "w" is written as "\/\/" using forward and backward slash characters.&nbsp; Using "obfuscation" doesn't seem to do the job in this case, so I have tried:</P>
<P><FONT size=1>&nbsp;</FONT>if SUBJECT CONTAINS <FONT face="Courier New" size=1><FONT face="Courier New" size=1><SPAN lang=EN-CA>"\/\/</FONT></FONT></SPAN><FONT size=1>atches</FONT><FONT face="Courier New" size=1><FONT face="Courier New" size=1><SPAN lang=EN-CA>"</FONT></FONT></SPAN><FONT size=1> weight </FONT><FONT face="Courier New" size=1><FONT face="Courier New" size=1><SPAN lang=EN-CA>51</SPAN></FONT></FONT></P>
<P>However, that doesn't work either.&nbsp; If I was trying to use a regular expression, I presume that I would need to "escape" the / character, but I thought that "CONTAINS" was quite literal.&nbsp; What am I doing wrong?</P>
<P>Thank you</P>
<P>Gordon</P>
<P><FONT size=1></FONT>&nbsp;</P>