adding &#39; to preg_match_all function so link text does not get cut off at apostrophes