#1 : 04/02-23 06:41
I've just stumbled upon this great program, but I just don't understand all these regular expressions and stuff. I've been looking at the forum but still don't understand how to solve my problem.
Is there a way to NOT change, or to protect the last part of a filename, when using the "New Name" feature ?
I want to change the first part, but the "-19.9C_0001.fit" should always stay the same as the original.
The total length of the filename is not always the same.
04/02-23 06:41 - edited 04/02-23 07:09
#2 : 04/02-23 09:00
There is a good basic intro to regular expressions in the User Guide: https://www.advancedrenamer.com/user_guide/regul ar_expresions
If we assume that the text that you wish to keep is always in the format "-19.9C_0001" ie a string commencing with "-" then you can use "-" as a separator.
Try a Replace method...
Use regular expressions