--On Wednesday, January 21, 2009 1:04 AM +0000 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



 /P\.?O/

Expect it to match things besides purchase orders, but they will be
false negatives.

Joseph Brennan



Reply via email to