keyword filter help |
Post Reply
|
| Author | |
jacksun
Newbie
Joined: 24 February 2005 Status: Offline Points: 31 |
Post Options
Thanks(0)
Quote Reply
Topic: keyword filter helpPosted: 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
|
|
![]() |
|
omaits
Guest Group
|
Post Options
Thanks(0)
Quote Reply
Posted: 24 February 2005 at 3:36pm |
|
Try putting a space in front/behind the word. " cialis" " cock " |
|
![]() |
|
jacksun
Newbie
Joined: 24 February 2005 Status: Offline Points: 31 |
Post Options
Thanks(0)
Quote Reply
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*
|
|
![]() |
|
omaits
Guest Group
|
Post Options
Thanks(0)
Quote Reply
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.
|
|
![]() |
|
Desperado
Senior Member
Joined: 27 January 2005 Location: United States Status: Offline Points: 1143 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
This page was generated in 0.197 seconds.


Topic Options
Post Options
Thanks(0)


