Blocking the "." between letters in words |
Post Reply ![]() |
Author | |
CyberBob ![]() Groupie ![]() Joined: 26 January 2005 Status: Offline Points: 43 |
![]() ![]() ![]() ![]() ![]() Posted: 24 January 2005 at 2:52pm |
I've posted this before and never got an answer that I found to work. Maybe it's not possible but I cannot come up with a way to block the random use of "." between letters. Example: Say we wanted to block: l.o.g.s.a.t There's a couple ways to do this but here's a simple rule: l(\.)o(\.)g(\.)s(\.)a(\.)t BUT if one "." is left out it clears the filter or any combination like: logs.at l.o.g.sat logs.a.t The rule MUST see a "." between each letter. So you think let's add the * to the rule like this: l(\.*)o(\.*)g(\.*)s(\.*)a(\.*)t The * will pick up zero or more "." between letters but now I've gone too far and any variation of "logsat" get's blocked. This rule works great for obvious words like viagra, f**k, p***sy etc. but I'd like to use this for variations of "prescription" when "." are used but we cannot block every email with the word "prescription" in it. We want to block ONLY the ones with the "." Also using the + instead of * won't work because we are back to only finding the "." between every letter. I could accomplish this by adding these entries for every word: l(\.)ogsat lo(\.)gsat log(\.)sat logs(\.)at logsa(\.)t But this is a little extreme especially if we are blocking the Subject also. Any ideas would be appreciated. As I write this out and think it through I've got an idea to start testing a rule like: [a-z]\.+[a-z] This should block any letter then a "." then another letter? Anyone tried this or am I getting to agressive? I'll stop here sorry for the long post but this one is bugging me and the answer is on the tip of my keyboard but I cannot see it! Bob |
|
![]() |
|
Desperado ![]() Senior Member ![]() ![]() Joined: 27 January 2005 Location: United States Status: Offline Points: 1143 |
![]() ![]() ![]() ![]() ![]() |
Bob, The simple answer is that I, too tried, with zero sucess, to do the same thing. Perhaps I need to spend some more time on it. Dan S |
|
![]() |
|
CyberBob ![]() Groupie ![]() Joined: 26 January 2005 Status: Offline Points: 43 |
![]() ![]() ![]() ![]() ![]() |
Send me any ideas you have. I'm working on a new rule but I won't be able to test it till later this week so I will let you know if I find anything. Bob |
|
![]() |
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.227 seconds.