PHP正则匹配description itemprop content
$str = ''; $isMatched = preg_match('/<Meta\s+name=description\s+itemprop=description\s+content=([\w\W]*?)\s+\/>/is', $str, $matches); var_dump($isMatched, $matches);