Open mcya opened 6 years ago
13819019022.replace(/(\d{3})\d{6}(\d{2})/, '$1****$2') ==> 138******22
注:是十一位数 3+6+2==11 or 3+4+4==11(前三后四)