in reply to parsing hmtl file with regex
As for trying to achieve your objective, I'd write:
print "Gotit! ($1)\n" if /Catalog Number: (PAL1001)/; [download]