Spam Filter ISP Support Forum

  New Posts New Posts RSS Feed - keyword filter help
  FAQ FAQ  Forum Search   Register Register  Login Login

keyword filter help

 Post Reply Post Reply
Author
jacksun View Drop Down
Newbie
Newbie


Joined: 24 February 2005
Status: Offline
Points: 31
Post Options Post Options   Thanks (0) Thanks(0)   Quote jacksun Quote  Post ReplyReply Direct Link To This Post Topic: keyword filter help
    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 kpeacock@domain.com.
 
How does one prevent this from occuring?
 
Thanks for the help!!!
 
Wayne
Back to Top
omaits View Drop Down
Guest Group
Guest Group
Post Options Post Options   Thanks (0) Thanks(0)   Quote omaits Quote  Post ReplyReply Direct Link To This Post Posted: 24 February 2005 at 3:36pm

Try putting a space in front/behind the word.

" cialis"

" cock "

Back to Top
jacksun View Drop Down
Newbie
Newbie


Joined: 24 February 2005
Status: Offline
Points: 31
Post Options Post Options   Thanks (0) Thanks(0)   Quote jacksun Quote  Post ReplyReply Direct Link To This Post 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*
Back to Top
omaits View Drop Down
Guest Group
Guest Group
Post Options Post Options   Thanks (0) Thanks(0)   Quote omaits Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Desperado View Drop Down
Senior Member
Senior Member
Avatar

Joined: 27 January 2005
Location: United States
Status: Offline
Points: 1143
Post Options Post Options   Thanks (0) Thanks(0)   Quote Desperado Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.178 seconds.