Regex: delete rounded brakets and whatever it containss

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

Old Name: (.) ([^)])(.*)#
New Name: \1\2
Type: Regular Expressions

Thank You :slight_smile:

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.

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 :slight_smile: - yet...)