Perl REGX match between parentheses
I have a script that reads a file that looks as such.
I have function that you pass a item to find (such as "First"). A simple regex parses the file and returns the data. /$data\((w+)\)/
This works find, but now there are some items that aren't words, some have spaces and commas in them. How can I return the data between the parentheses regardless of what text is between them?