#1 : 18/05-15 11:14 Joaquin Gargallo
Posts: 1
|
Hello
I need to deleted de last 8 digit of files named *DefinitivaXXXXXXXX.pdf I don`t found the apropiate commads. Any help, please? |
#2 : 18/05-15 15:26 Tester123
Posts: 92
|
Reply to #1:
You can use this regular expression method: Text to be replaced: (.+)(.{8}) Replace with: \1 Case sensitive: Untick Use regular expressions: Tick Apply to: Name To summarise: Define two groups in the search (Text to be replaced) string: 1) at least one of any character (.+) 2) followed by any 8 characters (.{8}) Replace with the first group only. |
#3 : 18/05-15 16:47 Tester123
Posts: 92
|
Reply to #2:
It just occurred to me that there is actually a built-in method to remove the last x characters: Remove Method: ---------------------- Remove count: 8 Starting at: 1 Backwards: Tick Apply to: Name As is often the case, there's more than one way to skin a cat. |