On Wed, 21 Jan 2009, rje...@vzw.blackberry.net wrote:

I am attempting to create a regular expression to give a negative score for 
purchase orders. I need to match the following:
PO
PO:
PO#
P.O.
P.O. #
PO #

I have not been able to get this to work correctly. I have the following:

/\bP\.?O\.?[:#]? [#]?/i

Any ideas?

Didn't we already do this?

--
 John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
 jhar...@impsec.org    FALaholic #11174     pgpk -a jhar...@impsec.org
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  Watch... Wallet... Gun... Knee...                    -- Denny Crane
-----------------------------------------------------------------------
 Tomorrow: John Moses Browning's 154th Birthday

Reply via email to