Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- s.pageName = "Garden: Sheds & Storage: Wooden Sheds";
- if (preg_match("/s.pageName = "(.*?)"/", $html, $matches)) {
- var_dump($matches);
- }
- $text = <<<EOT
- s.pageName = "Garden: Sheds & Storage: Wooden Sheds";
- EOT;
- if (preg_match('/s.pageNames+=s+"(.*?)";/', $text, $matches)) {
- var_dump($matches);
- }
- (?<=pageNames=s").+(?=";)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement