I'm trying to get better at regex and I'm starting with Perl.
I want to be able to go through a directory and find all the files that begin with messages and MAY have a "." and a digit behind it, but it should not match something that has say .txt, .pl, etc. Any assistance is greatly appreciated.
I want to find all the files that are messages, messages., messages.1, etc. but NOT messages.txt or messages.pl. Does that help?