Print Page | Close Window

RegEx to block foreign character set???

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=1525
Printed Date: 13 March 2025 at 4:20pm


Topic: RegEx to block foreign character set???
Posted By: dcook
Subject: RegEx to block foreign character set???
Date Posted: 29 July 2003 at 3:58pm

I have a number of emails that show up in my mail client with a series of .....  (periods) plus a comma instead of readable text.  When I export the email as plain text it appears as a series of ????? (question marks) and a comma in notepad. Must be a font issue.

I have added the following RegEx statements to the filter, but some still got through:

((..,){3,8})
((??,){3,8})

Have you seen these emails? It's always overeas sourced mail.  I would prefer not to block countries. Any ideas on refining rhe removal of this overseas spam with RegEx is appreciated.

In addition can anyone help me with RegEx to block the upper character set like this?

´ÓËÄÔÂÒ»ÈÕÆð,ÏÂÀýµØÇø¼ÓÊÕE¡£B¡£S¡£

¶«·Ç --20/--40

ÄÏ̫ƽÑó --50/--100

ÒÁÀ­¿ËÕ½Õù±¬·¢£¬´¬¹«Ë¾¿¼ÂÇÕ÷ÊÕеÄÕ½Õù¸½¼Ó·Ñ¡£

´ÓËÄÔÂÒ»ÈÕÆð£¬Ô˼ۼ¸ºõÈ«ÏßÉÏÕÇ¡£¾ßÌåÇé¿öÁí¸æ¡£

Thanks,

Dwight

PS: Dan, your RegEx filters are super.  You get the RegEx salute! 




Replies:
Posted By: dcook
Date Posted: 29 July 2003 at 4:01pm

The previous RegEx did not render correctly in the forum preceeding each period or comma was a slash \.

Thanks

Dwight



Posted By: Desperado
Date Posted: 29 July 2003 at 8:02pm

Dwight,

Not an answer, but a comment. I, personally don't want anything with a foriegn char set either BUT, as an ISP, we can't block them.  2 things though .... perhaps a future release "Wish List" would include a way to "expose" the Char Set setting and then it could be used as a trigger and 2nd ... LogSat is working on a "DNA Fingerprint" method of detecting spam and that may help in that area.

Dan S.




Print Page | Close Window