I'm creating a rename task and trying to use the file mask with regex to only rename the first occurrence of the pattern matched. I'm having an issue where nothing is being matched and I'm trying to use the simplest of expressions:
.*
^.*$
don't match any of the files in the directory. When I disable regex and just search for *, the test successfully returns all the files in the folder.
Can anyone tell me what I'm missing in the regex statement?
Thanks,
JZ