#1 : 22/10-17 16:09 Tiago
Posts: 1
|
Hello,
I'm in need to rename a bunch files to only numbers, that the file contains. Basically I have files with different lenghts (so I can't remove first and last chars), and I want to maintain the first set of numbers found by script. For example doNotTouchfile3_insideeverything-1.jpg - This should rename to 3.jpg wet-undaunted-ud-25-aab-1.png - This should rename to 25.png burned-tower-undaunted-ud-71-cdd-1.png - This should rename to 71 Please keep in mind that the set of numbers could be 157 (3 digits) Can someone help me to achieve this? Thanks! |