Swap Last Two [or more] words of Filename.
Posted: Sun Aug 28, 2011 1:32 am
Hi there,
Could someone help me switching the positioning of the last two words in a filename please... Ex:
< A book - Author, An
> A book - An Author
I've tried the RegEx code [which didn't change anything]:
RegEx(1)
MATCH: (.+), (.+)( - .+)
REPLACE: \2 \1\3
If possible, could someone please also help solving the same issue but with more than two words [3,4 or more words]... Ex:
< A book - Author, An Acclaimed And Noteworthy
> A book - An Acclaimed And Noteworthy Author
Could someone help me switching the positioning of the last two words in a filename please... Ex:
< A book - Author, An
> A book - An Author
I've tried the RegEx code [which didn't change anything]:
RegEx(1)
MATCH: (.+), (.+)( - .+)
REPLACE: \2 \1\3
If possible, could someone please also help solving the same issue but with more than two words [3,4 or more words]... Ex:
< A book - Author, An Acclaimed And Noteworthy
> A book - An Acclaimed And Noteworthy Author