Matt Garretson wrote:
Ray Jette wrote:
PO <random #s>
PO<random #s>
PO# <random #s>
PO#<random #s>
PO # <random #s>
PO #<random #s>


Try:

  Subject =~ /PO ?\#? ?\d+/i

If you don't need case insensitivity, remove the trailing 'i'.




Thanks for the reply. I tryed to use Subject ~
That matched PO but it did not match po. I have /i at the end.

Reply via email to