Goal: Any file name that contains rounded brackets... the rounded brackets and whatever the rounded brackets contains will be removed
before: George RR Martin (anth) - [Ice & Fire] - Game of Thrones (unabridged) (mobi).mobi
after: George RR Martin - [Ice & Fire] - Game of Thrones.mobi
any help would be apreciated
Leo
July 12, 2011, 8:46pm
2
Old Name: (.) ([^)] )(.*)#
New Name: \1\2
Type: Regular Expressions
This is a great help with file renaming Leo (thanks for asking penguinaka). Would you mind explaining that the "#" part does? I cant quite work it out.
MrC
July 17, 2011, 7:52am
5
This is a dopus's regexp extension that means "global". It repeats the pattern match/replace under no more matches occur.
Thanks MrC, seems to me to be a very useful function that I had never realised existed! (There's no limit to what I don't know - yet...)