PHP Regular Matching to Content Method Between Two Strings

  • 2021-11-10 09:10:49
  • OfStack

As shown below:


$preg= '/xue[\s\S]*?om/i';
	preg_match_all($preg," Learn and think about website xuebingsi.com",$res);
	var_dump($res[0][0]);

Related articles: