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