Print Page | Close Window

keyword filter help

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=5073
Printed Date: 05 December 2025 at 7:52am


Topic: keyword filter help
Posted By: jacksun
Subject: keyword filter help
Date Posted: 24 February 2005 at 3:15pm
Hi, I am doing keyword filtering with quite good success. I am having one little problem however that I think RegEx can help with. As I am regex declined at this time and haven't had much success in decoding the regex help page that comes with the program any assistance would be appreciated.
 
I want to filter the literal word. For example what is happening is I want the word cialis filtered. Using the word cialis in the list works fine except it also filters out emails that have the word specialist in them (speCIALISt). Filtering the word cock also filters email inbound from mailto:kpeacock@domain.com - kpeacock@domain.com .
 
How does one prevent this from occuring?
 
Thanks for the help!!!
 
Wayne



Replies:
Posted By: Guests
Date Posted: 24 February 2005 at 3:36pm

Try putting a space in front/behind the word.

" cialis"

" cock "



Posted By: jacksun
Date Posted: 24 February 2005 at 3:43pm
I'll give that a shot. What would the result be of using an asterisk after the word?   cialis*


Posted By: Guests
Date Posted: 24 February 2005 at 4:22pm
The asterisk is a wildcard. If you have cialis* (with the space in front), it will block anythign that starts with cialis. I am not sure if any words start with cialis or not, but if they did, it would trigger the filter. If you put a space on either side of the word cialis, it would only find the exact word cialis.


Posted By: Desperado
Date Posted: 28 February 2005 at 1:10am

You can use a RegEx as:

((?i)(\bcialis\b))

The \b specifies a "word Boundary"

Dan S.



-------------
The Desperado
Dan Seligmann.
Work: http://www.mags.net
Personal: http://www.desperado.com




Print Page | Close Window