阅读背景:

Javascript正则表达式解析表情符号并忽略网址

来源:互联网 

I want to parse input from user and replace all smiley "codes" with the image of the smiley. I've come across a issue when a user writes an url then the :/ of https:// and https:// gets replaced. The current regex I use for the :/ replace is "/://g" and I need help changing this so it does not replace the :/ if it's in a https:// or https://I want to parse input from user and replace all




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: