I need to retrieve the substring between the parenthesis (exclude the parenthesis):
I tried the following but it’s returning the the value between the parenthesis along with the parenthesis. I would like to exclude the parentheses.
a= "testing (EMI:30384)"
a[/\(.*?\)/] ***returns (EMI:30384)
Thanks for a lot for your help
()capture between\(and\)escape ()will match EMI:30384