求助:关于PHP正则表达式 多匹配 你能不能重发一下$tag的内容preg_match_all('/\ ¦([^\ ¦]*)\ ¦/i',$tag,$match); print_r($match); 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 <?php$tag="jklsjf ¦hello ¦jskldf ¦word ¦jasklf ¦many key ¦jklafjklfjkldas";$arr = explode('¦',$tag);print_r($arr);?> $tag="jklsjf |hello |jskldf |word |jasklf |many key |jklafjklfjkldas";#ereg("\|([^\|]*)\|",$tag,$arr);preg_match_all("|\|[^\|]*\||",$tag,$s);print_r($s); php字串比较问题,看起来明明一样,strcmp比较结果始终不为0 new SimpleXMLElement在服务器上用不了,是什么原因? php+Cookie PHP的一些问题希望大家可也帮帮忙 问题个JS小问题 utf8乱码 mysql简单问题求助 如果客户端禁止了cookie mysql出错了,该怎么解决,急... 我在linux下为什么访问不了。 copy("1.gif","2.gif); 一会成功一会失败是什么原因引起的? 页面中所有链接都用相对地址更优还是都用绝对地址更优?
$tag="jklsjf ¦hello ¦jskldf ¦word ¦jasklf ¦many key ¦jklafjklfjkldas";
$arr = explode('¦',$tag);
print_r($arr);
?>
#ereg("\|([^\|]*)\|",$tag,$arr);
preg_match_all("|\|[^\|]*\||",$tag,$s);
print_r($s);