this.content = this.content.match(/http.*\.(mp4|png|jpg)/gi);
正则匹配以http开头mp4/png/jpg结尾的字符串
最新推荐文章于 2024-09-03 11:37:27 发布
this.content = this.content.match(/http.*\.(mp4|png|jpg)/gi);