Sorry, I don't know how to name this thread.
I need to extract the first layer of () with "" from string but when I try to use re it only returns everything in between first and second ().
import re
string = 'this is a test ("string with (some) paranthesis") how great'
extract = re.findall('\((.*?)\)', string)
print(extract)
Output:
['"string with (some']
But I need:
['"string with (some) paranthesis"']
or without the "".