#1 2013-06-06 22:43

barneyj
Member
Registered: 2013-06-06
Posts: 1

Rearrange on multiple items with varying amounts of words

Hi, I have a lot of file with names like 'avenue q - money song, the' and 'backstreet boys' the - larger than life' etc. Is there a way I can get the 'the' switched with the word immediately before it and the comma removed on multiple files?

Offline

#2 2013-06-07 07:09

SafetyCar
Senior Member
Registered: 2008-04-28
Posts: 446
Website

Re: Rearrange on multiple items with varying amounts of words

Try with this

RegEx Rule:
  Expression "(^| - )(.*),? (the)( - |$)"
  Replace with "$1$3 $2$4"
  [skip extension]


If this software has helped you, consider getting your pro version. :)

Offline

Board footer

Powered by FluxBB