Print Page | Close Window

RegEx question

Printed From: LogSat Software
Category: Spam Filter ISP
Forum Name: Spam Filter ISP Support
Forum Description: General support for Spam Filter ISP
URL: https://www.logsat.com/spamfilter/forums/forum_posts.asp?TID=6646
Printed Date: 05 February 2025 at 1:04pm


Topic: RegEx question
Posted By: microtech
Subject: RegEx question
Date Posted: 03 April 2009 at 4:31pm

Hi everyone,
I have a keyword filter trigger
((?i)(http://)(\w){1,20}(\.(cn)))

which stops http://toxdopaf.cn

but it fails to stop
<a href="http://toxdopaf.cn" in body of email message
despite RexEx test reports "Found".

i;m trying to stop URLS for example....
<a href="http://toxdopaf.cn"
and
<a href="http://www.toxdopaf.cn"
and
<a href="http://toxdopaf.cn/2.gif"

Much appreciate any assistance...





Replies:
Posted By: LogSat
Date Posted: 04 April 2009 at 9:40am
microtech,

Your keyword is correct, and we do see it being able to stop the URLs in your samples above. Have you checked the source code of the email to ensure the URL is specified "as-is", and that it was not encoded in some way, and/or that the email is not being whitelisted due to other SpamFilter settings?

-------------
Roberto Franceschetti

http://www.logsat.com" rel="nofollow - LogSat Software

http://www.logsat.com/sfi-spam-filter.asp" rel="nofollow - Spam Filter ISP



Print Page | Close Window