...
/Challenge: Adjust the Pattern to Return the Required Matches
Challenge: Adjust the Pattern to Return the Required Matches
Write code to adjust the pattern that will return the required output.
We'll cover the following...
Problem statement
Observe the following code sample:
Press + to interact
<?php$text = <<<'TEXT'"one", "two", "three, \"four\", five", "six", "seven"TEXT;preg_match_all('/".*?"/',$text,$matches);
This will return the following matches: ...