Switch text parts

Advanced Renamer forum
#1 : 02/02-23 17:38
Marco
Posts: 2
Hello guys,

I need your help with renaming my folder names.....

Source: 2020 DTM 8 BMW ORLEN Team ART

Should be: DTM 2020 8 BMW ORLEN Team ART



But the "DTM" could also have 3 to 10 characters

I am really clueless at the moment.


Thank you!!!
#2 : 02/02-23 23:25
David Lee
Posts: 1125
Assuming that "DTM" can never contain a space: you can use a Replace method with "space" as a separator...

Replace: ^(\d+ )([^ ]+ )
with: \2\1
Use regular expressions
#3 : 03/02-23 01:33
Marco
Posts: 2
Reply to #2:
thank you so much!! works perfectly