📅  最后修改于: 2022-03-11 15:01:40.445000             🧑  作者: Mango
function HandleToUrl(text){
var urlRegex = /([@]).*/g;
return text.replace(urlRegex, function (name) {
console.log(name)
return '' + name + '';
})
}