- Code: Select all
Session 1 Schematic (1999 - 2011).avi
Session 1 Notes (1999).doc
Session 2 Notes (2011).doc
Session 6.avi
I would like to strip off the end of every file name from the opening parenthesis to the end, if the file name has a parenthesis.
I know the proper regex for this is something like:
- Code: Select all
\(.*$
When I put that in the regex Match box, nothing happens. When I add a > to Replace I see:
- Code: Select all
>.avi
>.doc
>.doc
Session 6.avi
That seems logical since the first three match and the last does not. How do I use the regex field to capture all files with an opening parenthesis, and replace the opening parenthesis to the end of the file name with nothing, but leave file names without a parenthesis unaffected?
Thanks in advance!