火车头正则过滤emoji表情

admin6年前IT技术2190

由于火车头是C#开发的,所以大家写不了正则,就要在网上搜索C#正则过滤emoji表情

 

正则表达式如下

\p{Cs}

这个比较不错

下面2个作为补充

(\ud83c[\udf00-\udfff])|(\ud83d[\udc00-\ude4f])|(\ud83d[\ude80-\udeff])

^[\u4e00-\u9fa5]+$

相关文章

Magento2.x 设置前台页面的路径

 解决方案:M2 后台--> STORES --> Configuration --> ADVANCED -->Developer -->Debug --&g...

在hyper-v安装centos7后与windows10共享文件夹

 挂载Windows共享文件夹的方法:1.在windows10宿主机下新建一个共享文件夹,比如叫share_win,并将其设为共享文件夹。2.在CentOS下,执行命令:mount ...

mount:is write-protected, mounting read-only解决方案

window10升级之后就遇到mount: **** is write-protected, mounting read-onlymount: cannot mount *** read-only尝试...

二维码生成导航

http://twoyn.shengmake.nethttp://twalabo.shengmake.nethttp://twyilang.shengmake.nethttp://twyindu.sh...

汇成电动工具行业企业网站系统v12.1

汇成电动工具行业企业网站系统v12.1˂a target="_blank" href="download/jixie/jixieddgjv121.rar"˃官方下载汇成企业网站管理系统为中小企业免费建...

发表评论    

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。