I need help with preg_match.
The user will upload a file to my server but I want the filename to look in a certain way. For example, this is a correct filename:
SES 00001.TIF
The first part (SES) can contain the following characters: ABCDEFGHIJKLMNOPQRSTUVWXYZ
The second part must be a space.
The third part is a number with 5 digits. 0123456789
The fourth part must be .TIF
If the filename passes all 4 tests it's a correct filename. I'm sure I can do this with preg_match but how?