I would say you have it pretty much down. If I did it I would have this

(?i:as.{0,2}seen.{0,2}on.{0,2}(?:oprah|60.{0,2}minutes))

You have an extra . between seen and on

David B

-----Original Message-----
From: supp...@declude.com [mailto:supp...@declude.com] On Behalf Of Dave
Beckstrom
Sent: Wednesday, February 18, 2009 1:28 PM
To: declude.junkmail@declude.com
Subject: [Declude.JunkMail] Regex


Trying to filter on:

Asseenon Oprah
As seen on Oprah
As seen on 60 minutes
Asseenon 60 minutes
As seen on 60-minutes

This regex matches on, for example, "asseen on 60 minutes" but does not
match on "asseenon 60 minutes"  What did I do wrong? 

 Is there a better way to code this?

ANYWHERE        3 PCRE (?i:as.{0,2}seen.{0,2}.on.{0,2}(?:oprah|60.minutes))




---
This E-mail came from the Declude.JunkMail mailing list.  To
unsubscribe, just send an E-mail to imail...@declude.com, and
type "unsubscribe Declude.JunkMail".  The archives can be found
at http://www.mail-archive.com.



---
This E-mail came from the Declude.JunkMail mailing list.  To
unsubscribe, just send an E-mail to imail...@declude.com, and
type "unsubscribe Declude.JunkMail".  The archives can be found
at http://www.mail-archive.com.

Reply via email to