你能不能重发一下$tag的内容
preg_match_all('/\ ¦([^\ ¦]*)\ ¦/i',$tag,$match); 
print_r($match);