¸ËæC¡B·h®a¡B²M¼ä¡B¥´Äú¡B¯»¨ê¡B©ÛµP¡B§ìº|¡B§N®ð ½u¤Wºë·Ç¦ô»ù¡A¤ñ»ù³Ì®e©ö¡Aµ¹§A³Ì«K©yªº»ù®æ¡A®ø¶O¤£ | ±M·~¤¤¥j«Î§ï³y¤uµ{¡A·s¦¨«Î¡A¹w°â«Î«Ç¤º¸ËæC³]p ·f°t®a¨ã¡A®a¹¢¥¬¸m¡A¾ãÅé³W¹º |
¤¤¤å¦r¦ê¥[¤JªÅ®æ |
©ÐªF¡Gªü¥§ µoªí®É¶¡¡G2022-09-18 |
$str="²{¦bºô¸ô¤W¸ËæCªÈ¯É¶V¨Ó¶V¦h,¤j³¡¤À³£¬O¦bºô¸ô¤W§ä¨Ó¸ô¤£©úªº ¸ËæC¤½¥q »P³]p®v©Ò³y¦¨ ¦h¼Æ³£¬O¬Ý¤@¨Ç¤p¼s§i,¯dÓ¹q¸Ü¸¹½X©Î§K¶OªºªÀ¸s©M³¡¸¨®æ´N¥X¨ÓÄF ¤Ï¥¿¿ú¦¬¨ì´NÁפ£¨£±¡A¹q¸Ü¤]Ãö¾÷©Î¤ÁÂ_¡A§K¶OªºªÀ¸s©M³¡¸¨®æ¦b«·s¥Ó½Ð´«¤@Ó´N¦³¡A ¤Ï¥¿¤S¤£¥Î¿ún¥Ó½Ð¦h¤ÖÓ³£¦³¡AÄF§¹¤@Ó¦b«·s´«¤@Ó±b¸¹¥X¨ÓÄF, ®É¾÷¤£¦n¦h§ä´X®a¤ñ¸û´Nª¾¹D¤F.¤ñ»ù¬O¬°¤F¤F¸Ñ¦æ±¡¤£n³Qº¡¤Ñ³Û»ù¨üÄF¡A«Ü¦h¶Â¤ß³]p®v´N¬O§â®ø¶OªÌ·í¥~¦æ¬Ý¡A§â¦H½è«~·í°ª¯Å«~¦b³ø»ù¡A¯uª÷¤£©È¤õ·Ò¡A¤@ÓÀu¨}ªº¼t°Ó¬O¤£©È«È¤á¨Ó¤ñ¸û¡A¬JµM¬O¯u§÷¹ê®Æ¨º©È¤H®a¨Ó¤ñ»ù¡A°£«D¤ß¸Ì¦³°¡A ¤uµ{¹F¤Hºô´£¨Ñ¤@Ó¤£¿ùªº¤ñ»ùªA°È¡A¥un¶ñ¼g»Ýn¸ËæCªº¦a¤è¬ÛÃö¸ê®Æ¡A´N·|¦³¦h®a¸ËæC¤½¥q¨Ó¦ô»ùµ¹§A¡A¤~¤£·|®ö¶O§Aªº®É¶¡©M®ö¶O§Aªº¹q¸Ü¶O¡A¤]¤£©È¸I¨ì¶Â¤ßªº¸ËæC¤½¥q¶Ã¦ô»ù"; $str = preg_replace("/([\x{4e00}-\x{9fa5}])/u", "\\1 ", $str); $res = preg_replace ( "/\s(?=\s)/","\\1", $str); //这 个 ¬O ui ¤@ ¨Ç 999 ¤° A ¤\ úä ¤l ¡C echo $res; |
|
©m¦W¡G | |||
§G§i¤º®e¡G | |||
¨ä¥L¿ï¶µ: | |||
|