I have a string:
"whatever( here i com ( asdfasDF ( ) ) ) go home"
I want to extract everything between the first "(" and last ")" which is:
" here i com ( asdfasDF ( ) ) "
What is a good regular expression to extract that?
Update:
If my string contains newline chars the following works:
/\((([.|\s|\S])*)\)/