#1 : 04/02-20 01:41 Keywal
Posts: 2
|
Hey guys,
I have a bunch of folders with varying character counts in the format of the following MOVIENAME (YEAR) (FILES DETAILS) Im trying to remove the file details from the name... So it would look like this MOVIENAME (YEAR) Problem im having is that the file details part is different sizes for each folder. The movie name is also of differing sizes. I've tried several suggestions here but cant seem to figure it out for this scenario. Note: closest i got was using the remove pattern options and removing (*) but this took out (YEAR) and i cant figure out how to get it to take out the last group Thanks in advance... Key. |
#2 : 04/02-20 10:16 David Lee
Posts: 1125
|
Use the Replace method with a Regular Expresssion:
Text to be replaced: (.*\)) .* Replace with: \1 Use Regular expresssions |
#3 : 04/02-20 11:24 Keywal
Posts: 2
|
Reply to #2:
Thanks David, works like a charm :) |