On May 4, 2010, at 3:23 AM, Ansgar Wiechers wrote:

> On 2010-05-03 donovan jeffrey j wrote:
>> im working on a header check to filter out anything that says Viagra
>> in the From: line. My question,.. is how do I handle the quotes ?
>> 
>> here is a sample header
>> 
>> From: "Viagra US supplier" <nujue7...@myfairpoint.net>
>> From: "Viagra US dealer" <izylasaeym6...@bu.edu>
>> 
>> 
>> here is what i want to use , is this the correct syntax or do I need to 
>> double quote those quotes somehow.
>> 
>> /^From: "Viagra US supplier"/                DISCARD viagra foo
>> /^From: "Viagra US dealer"/          DISCARD viagra foo
> 
> /^From: .*viagra/  DISCARD viagra foo
> 

what does the dot asterisk do ?
will that cover the ( "  " ) quotes?
-j

Reply via email to