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'.


Reply via email to