随笔

const formalLink = function(url) {
var subStr = new RegExp('(http|https)://www.polyv.net/news/')
return url.replace(subStr, '');
};
posted @ 2018-07-05 08:52  吾生有涯,而知无涯!  阅读(119)  评论(0编辑  收藏  举报