PHP REGEX: Problem with Smiley `:)` and `:))`

前端 未结 4 1081
别跟我提以往
别跟我提以往 2021-01-14 15:22

What I want


Hi! I want to replace :) to smile.png and :)) to laugh.png.

Th

4条回答
  •  天涯浪人
    2021-01-14 16:12

    Why don't you do a simple text replace?

    First :)) to laungh.png, then :) to smile.png

提交回复
热议问题