<?php $regex = "(foo\\(bar\\))"; preg_match($regex, "abcfoo(bar)baz", $match); var_dump($match);
You have javascript disabled. You will not be able to edit any code.