RegEx Help


#1

Can someone help me create a regular expression to remove anything inside brackets from a file name?

I want to strip anything within a variety of bracket types including: [ ], { } , and ( ).

Additionally, there could be multiple brackets (not nested, but multiple occurences) within the filename.

Thanks,
David


Reg Expression Help
#2

I think I'd do 3 actions.
The 3 expressions:
\s*[[^]]+]
\s*{[^}]+}
\s*([^)]+)
Always replace with nothing.