#1 : 22/01-19 05:11 A A
Posts: 1
|
I have a list of filenames like this
wordone, wordtwo - anynumberofwordsandcharacters.ext I'd like to run a command (I think a MOVE command using regular expressions) that results in this wordtwo, wordone - anynumberofwordsandcharacters.ext all words vary in length. the key is the word between the comma and dash. thanks in advance also, i f'n love this program! |
#2 : 22/01-19 15:32 Styb
Posts: 80
|
Reply to #1:
You can use the replace method with regular expressions: text to be replaced: (.*), (.*) - (.*) replace with: \2, \1 - \3 |