🌈 搜索
📅  最后修改于: 2022-03-11 14:54:41.351000             🧑  作者: Mango
$text = 'Clean text'; $cleanText = preg_replace("/<([a-z][a-z0-9]*)[^>]*?(\/?)>/si",'<$1$2>', $text);
Clean text