Want to extract a pattern "Link":URL from a string. Example:
$str = 'I like dogs and cats. View here "Link":http://www.example.com and here "Link":http://www.example2.com';
if (preg_match_all('/"Link":(.*?)/', $str, $match) >= 1) {
print_r($match);
}
Need to extract "Link":http://www.example.com and "Link":http://www.example2.com.
What am I doing wrong?