I'm trying to get the file name between two parentheses that can contain spaces between the name and any parentheses. example: ( file_name )
I used the regex:
(([A-Za-z_][A-Za-z0-9_]*)[ \t]*)
The problem is that, it matches the file_name with the spaces before and after it. I want to match the file_name without the spaces. Any help is appreciated.