First, the problem is because | has a special meaning in regular expressions and should've been escaped.
Second, don't bother with regular expressions. It's just a straight string-replacement.
$comment=str_replace('😐', '<img src="smiley.gif">', $comment);