The rename dialog has an option for renaming using regular expressions, but the help file does not give any examples of a rename using regex. Please provide an example.
In particular, I am hoping that the regex rename overcomes the limitations of a DOS-based rename. In DOS, for example, it is extremely difficult (if not impossible) to rename a group of files by adding or removing a prefix from the front of the filename:
fileone.ext --> new_fileone.ext
filetwo.ext --> new_filetwo.ext
filethree.ext --> new_filethree.ext
filefour.ext --> new_filefour.ext
or
new_fileone.ext --> fileone.ext
new_filetwo.ext --> filetwo.ext
new_filethree.ext --> filethree.ext
new_filefour.ext --> filefour.ext
Likewise, DOS rename cannot change the case of the filenames:
fileone.ext --> FileOne.ext
filetwo.ext --> FileTwo.ext
filethree.ext --> FileThree.ext
filefour.ext --> FileFour.ext
I am hoping that a regex rename will evaluate each file with the regex rules to determine how to rename the file, and that both of these DOS shortcomings can be overcome... but I am not RegEx savvy and would appreciate examples to learn from and model after.
In particular, I am hoping that the regex rename overcomes the limitations of a DOS-based rename. In DOS, for example, it is extremely difficult (if not impossible) to rename a group of files by adding or removing a prefix from the front of the filename:
fileone.ext --> new_fileone.ext
filetwo.ext --> new_filetwo.ext
filethree.ext --> new_filethree.ext
filefour.ext --> new_filefour.ext
or
new_fileone.ext --> fileone.ext
new_filetwo.ext --> filetwo.ext
new_filethree.ext --> filethree.ext
new_filefour.ext --> filefour.ext
Likewise, DOS rename cannot change the case of the filenames:
fileone.ext --> FileOne.ext
filetwo.ext --> FileTwo.ext
filethree.ext --> FileThree.ext
filefour.ext --> FileFour.ext
I am hoping that a regex rename will evaluate each file with the regex rules to determine how to rename the file, and that both of these DOS shortcomings can be overcome... but I am not RegEx savvy and would appreciate examples to learn from and model after.
Comment