Fixed preg_replace expressions.