Regex and attachments.. again :) |
Post Reply ![]() |
Author | |
Lee ![]() Groupie ![]() Joined: 04 February 2005 Location: United States Status: Offline Points: 50 |
![]() ![]() ![]() ![]() ![]() Posted: 24 March 2004 at 1:28pm |
I am sorry to ask this question because I can't but think it has been asked many times before. But I searched the forum and did not find an answer. I admit I am new to Regex and have been trying to teach myself the syntax so I can built my own search strings. But could someone give me a jump start on the proper syntax to block attachments ? I would like to create individual matches for different types of extensions. In other words I want to explicitly define matches for *.zip, *.exe, *.scr, *.exe... Can someone give me a few working examples of working syntax for this type of regex traps ? By the way I did find a pretty good tutorial site called http://www.regular-expressions.info. Thanks and again apologize if this has been answer before. Lee |
|
![]() |
|
Desperado ![]() Senior Member ![]() ![]() Joined: 27 January 2005 Location: United States Status: Offline Points: 1143 |
![]() ![]() ![]() ![]() ![]() |
Actually, for simple extension matches, RegEx's are not required. A simple list will work as below /// or am I misunderstanding the question?
*.pif *.scr etc Dan S. |
|
![]() |
|
Lee ![]() Groupie ![]() Joined: 04 February 2005 Location: United States Status: Offline Points: 50 |
![]() ![]() ![]() ![]() ![]() |
Dan, Actually it is my fault for not specifying enough information. Unfortunetly I am using 1.2.0.212 which does not have the extenstion blocking capability. :( So I was under the impression that I could use regex in the Keyword field to block specific file extentions. Lee |
|
![]() |
|
Desperado ![]() Senior Member ![]() ![]() Joined: 27 January 2005 Location: United States Status: Offline Points: 1143 |
![]() ![]() ![]() ![]() ![]() |
Lee, If that is possible, I do not know how to do it. I believe there were significant code changes to allow for the attachment blocking. IF, however, you got lucky, you may be able to dig it out of the "Content" lines but I have not had real reliable luck there. Dan S. |
|
![]() |
|
Lee ![]() Groupie ![]() Joined: 04 February 2005 Location: United States Status: Offline Points: 50 |
![]() ![]() ![]() ![]() ![]() |
Ok Dan then I misunderstood the other threads about regex and attachments. I assumed they were trying to do this using the keywords because the versions that were being used did not have the Attachment blocking. Oh well. Bummer. :( Thanks for taking the time to "splain it too me" (said in my best Ricky Ricardo voice) hehe Lee |
|
![]() |
|
Desperado ![]() Senior Member ![]() ![]() Joined: 27 January 2005 Location: United States Status: Offline Points: 1143 |
![]() ![]() ![]() ![]() ![]() |
As in "Lucy .... you have some splaining to do!" Dan S. |
|
![]() |
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.223 seconds.