3v4l.org

run code in 300+ PHP versions simultaneously
<?php $quotedString = '"(?:[^"\\]*\\\\.(*SKIP)(*FAIL))*"'; $regex = "($quotedString)"; $string = 'This is "A test of the \"Emergency System\" here..."'; var_dump(preg_match($regex, $string, $match), $match);

preferences:
38.69 ms | 402 KiB | 5 Q