Basically I have music filenames such as:
<source> <target>
"Travis - Sing" "Travis - Sing 2001.mp3"
"Travis - Sing" "Travis - Sing Edit.mp3"
"Travis - Sing" "Travis - Sing New Edit.mp3"
"Mission Impossible I" "Mission Impossible I - Main Theme.mp3"
"Mission Impossible I" "Mission Impossible II - Main Theme.mp3"
"Mesrine - Death Instinct" "Mesrine - Death Instinct - Le Million.mp3"
"Mesrine - Public Enemy #1" "Mesrine - Public Enemy #1 - Theme"
"Se7en" "Se7en Motion Picture Soundtrack - Theme.mp3"
Parenthesis aren't included in the strings (just for demonstration).
and I am trying to match the "source" to "target" values.
So the source names I already have, but right now I am using alot of string parsing to be able to match the two. How can I achieve the same using Regex?
EDIT: It seems like there is a confusion.
"Travis - Sing"
is my source string, and I am trying to match it to:
"Travis - Sing (2001).mp3"
"Travis - Sing (Edit).mp3"
"Travis - Sing (New Edit).mp3"
EDIT2: Removed the parenthesis.