Hi All
Sorry to post what is likely a simple problem, but I'm a little stumped and definitely new to regular expressions. I am having difficulty with file sequences automatically spit out of software in a format I can't change. The files are sequentially numbered as such:
file_1_name.01.tif
file_1_name.02.tif
file_1_name.03.tif
..
file_1_name.101.tif
file_1_name.102.tif
The program they are destined for required the numeric sequence to be between to '.'s to be read properly, but I need to give the sequence to another program and it's choking on the differing amounts of pad.
The easiest way forward that I can see is a way to use regular expressions to insert an additional 0 immediately following the first '.' in order to unify the pad to three digits? I'm assuming that this can be articulated as well in the event that I end up with 4 digits in a longer sequence.
I have tried using the numbering(10) section, but, because of the way windows interprets the filenames, they renumber wrong (.100.tif follows .10.tif for example). I also cannot use the sort by date function to reorder the files as they are not necessarily created sequentially.
Here's hoping someone's got an easy solution and thanks in advance.
Richard