lists all files in the given folder that start with the letters pic and end with a .jpg extension. While the dir command allows only ? and * wildcards, regular expressions allow you to do so much more ...

lists all files in the given folder that start with the letters pic and end with a .jpg extension

So why do you need more than dir pic*.jpg?