var chars = val.match(/(\w+)?@(\w+)$|@$/);
只能获取到英文  不能获取到中文 求解...