想要匹配的字符串格式为:@xingren @nihao @tolerious@qq.com lalal希望得到的列表项为:['@xingren','@nihao','@tolerious@qq.com']我目前的正则表达式为: /@w+s/g,这个正则只能得到列表: ['@xingren','@nihao']而少了@tolerious@qq.com这一项.
@xingren @nihao @tolerious@qq.com lalal
['@xingren','@nihao','@tolerious@qq.com']
['@xingren','@nihao']
@tolerious@qq.com
相关分类