Updates to preg_match for url issue
chose an array instead