LN FN SWAPS: Pre - Import
LN, FN ==> FN LN
Code:
^(\w+), *([\w \.]+)[ ]+-[ ]*(.*)
$2 $1 - $3
LN, FN & LN, FN ==> FN LN & FN LN
Code:
([^,]*), ([^&]*)& ([^,]*),([^-]*)-(.*)"
$2$1 &$4$3 -$5
LN, FN and LN, FN ==> FN LN and FN LN
Code:
([^,]*), ([^&]*)and ([^,]*),([^-]*)-(.*)
$2$1 and$4$3 -$5
Author - Title - Series Swaps:
T,S,A not ( )
Swap T,S,A to A,S,T in book filename (if there is a " - " between the three parts) anything in brackets at the end remains in place.
Code:
([^-]*) - ([^-]* - )?([^(]*)( \(.*\))?(\.[^(.]*)
\3 - \2\1\4\5
T,A,S not ( )
Swap T,A,S to A,S,T in book filename (if there is a " - " between the three parts) anything in brackets at the end remains in place.
Code:
(.*) - (.*) - ([^(]*)( \(.*\))?(\.[^(.]*)
\2 - \3 - \1\4\5
S,A,T not ( )
Swap S,A,T to A,S,T in book filename (if there is a " - " between the three parts) anything in brackets at the end remains in place.
Code:
([^-]*) - ([^-]* - )?([^(]*)( \(.*\))?(\.[^(.]*)
\2\1 - \3\4\5
Swap S,T,A not ( )
Swap S,T,A to A,S,T in book filename (if there is a " - " between the three parts) anything in brackets at the end remains in place.
Code:
(.*) - (.*) - ([^(]*)( \(.*\))?(\.[^(.]*)
\3 - \1 - \2\4\5
Swap A,T,S not ( )
Swap A,T,S to A,S,T in book filename (if there is a " - " between the three parts) anything in brackets remains in place.
Code:
(.*) - (.*) - ([^(]*)( \(.*\))?(\.[^(.]*)
\1 - \3 - \2\4\5
*NOTE - the Dollar Sign "$" or the Forward Slash "/" is used interchangeably in the replace depending on which renaming tool you are using.