On Thu, 4 Dec 2008, Ray Jette wrote:

A lot of these rules look good but not appear to work for what I am trying to do. Sorry about all the trouble. I'm not realy that good at regular expressions but I am learning. Here are some real examples from my mail server:

   * PO1786
   * PO 42111
   * PO# 314980
   * PO#36605
   * PO 484579-0
   * PO:458121
   * PO: 6718972-1
   * PO's #47509
   * PO#v156-2008-003
   * PO-121556
   * PO's 47509

Some of these are million's of dollers worth of orders. I can't loose these. I am trying to create a negative scoring rule. Thanks for any help you can provide. Please let me know if you need any more information.

Subject =~ /\bPO\D{0,6}[-\d]+/i

(untested)

--
 John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
 [EMAIL PROTECTED]    FALaholic #11174     pgpk -a [EMAIL PROTECTED]
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  North Korea: the only country in the world where people would risk
  execution to flee to communist China.                  -- Ride Fast
-----------------------------------------------------------------------
 11 days until Bill of Rights day

Reply via email to