Switch strings in filenames with regex?
Posted: 24.06.2016, 20:34
Hi all,
I have a bunch of files, named like this:
My life - Jim Johnson.txt
Some long title with many words - Jack Simon Gudmundson.doc
Yes - James.xls
My question: what regex do I need to put (in FC 2014 build 650) the part behind the " - " in front, and the stuff which originally was before the " - " behind it? So, the result should be:
Jim Johnson - My life.txt
Jack Simon Gudmundson - Some long title with many words.doc
James - Yes.xls
Anyone who can shed some light on this? I'm all but mute in regex, I'm afraid, so bear with me.
Thanks!
I have a bunch of files, named like this:
My life - Jim Johnson.txt
Some long title with many words - Jack Simon Gudmundson.doc
Yes - James.xls
My question: what regex do I need to put (in FC 2014 build 650) the part behind the " - " in front, and the stuff which originally was before the " - " behind it? So, the result should be:
Jim Johnson - My life.txt
Jack Simon Gudmundson - Some long title with many words.doc
James - Yes.xls
Anyone who can shed some light on this? I'm all but mute in regex, I'm afraid, so bear with me.
Thanks!