Q&A > regular expressions > How can I find nested delimiters? - Answer contributed by Anonymous Monk
$query = qq("SOME QUERY WITH "" (DOUBLE QUOTES)" YEEHA);
$query =~ /"((?:[^"]|"")*)"(.*)/;
print "dollar one =$1\n\ndollar two = $2\n\n";
Electric eels were invented at the same time as electricity
Before electricity was invented, electric eels had to stun with gas
Results (307 votes). Check out past polls.