Actually, it turned out to be even easier than that.  I used the Regular
Expression \S which is for a Non-White Space character (not to be confused
with \s which is White Space Character).  So I check for the presence of a
Non-White Space Character, if its not found, it gets trashed.

Brien

> -----Original Message-----
> From: Daniel Grunberg [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 15, 2002 6:51 AM
> To: Brien King
> Subject: Re: Filter Question
>
>
> Sun, 14 Apr 2002 12:31:57 GMT -0700 (3:31 PM EDST) Brien King wrote:
>
> > Ok,
>
> > Is there a way to tell if the message body is empty?  I have
> been getting SPAM
> > that just has a subject and nothing else in the body.  The
> Email has an HTML
> > attachment (Picture and Link).
>
> You can use TheBat! => Account => SortingOffice/Filters to set up a
> "Empty" rule to sort out to Trash any message that does't contain at
> least one character that you'd expect to see in the Text of a
> non-empty message.
>
> The pipe (i.e. [Shift]+\ (located on the key below [Backspace]) acts
> as an inclusive-OR in the filter strings.  For example, you could set
> up an inclusive-OR string containing all of the alpha-numeric
> characters on the keyboard as:
>
> a|A|b|B|c|C| <etc.> |z|Z|1|2|3| <etc.> |9|0
>
> and specify in your "Empty" rule that the string is Not Present in the
> Text. Or, as a first cut, you might try a simplified (and less tedious
> to type) rule that looks for any of the numerals or any of the vowels:
>
> a|A|e|E|i|I|o|O|u|U|1|2|3|4|5|6|7|8|9|0
>
>
> ________________________________________________________
> Current Ver: 1.60c
> FAQ        : http://faq.thebat.dutaint.com
> Unsubscribe: mailto:[EMAIL PROTECTED]
> Archives   : http://tbudl.thebat.dutaint.com
> Moderators : mailto:[EMAIL PROTECTED]
> TBTech List: mailto:[EMAIL PROTECTED]


________________________________________________________
Current Ver: 1.60c
FAQ        : http://faq.thebat.dutaint.com 
Unsubscribe: mailto:[EMAIL PROTECTED]
Archives   : http://tbudl.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
TBTech List: mailto:[EMAIL PROTECTED]

Reply via email to