받는사람 연락처 유효성 검사에 0508 번호추가

This commit is contained in:
rosewiper 2023-12-13 16:19:14 +09:00
parent 126f37884d
commit 191ba0fc7d

View File

@ -2154,7 +2154,7 @@ public class MjonMsgCampainTWDataController {
String errMessage = ""; String errMessage = "";
String cellValue = ""; String cellValue = "";
String phoneRegExp = "^(050[234567]{1}|01[016789]{1})-?[0-9]{3,4}-?[0-9]{4}$"; String phoneRegExp = "^(050[2345678]{1}|01[016789]{1})-?[0-9]{3,4}-?[0-9]{4}$";
int errPhoneCnt = 0; int errPhoneCnt = 0;
String errPhoneLine = ""; String errPhoneLine = "";
@ -2468,7 +2468,7 @@ public class MjonMsgCampainTWDataController {
int errPhoneCnt = 0; int errPhoneCnt = 0;
//String phoneRegExp = "^01(?:0|1|[6-9])[.-]?(\\d{3}|\\d{4})[.-]?(\\d{4})$"; //String phoneRegExp = "^01(?:0|1|[6-9])[.-]?(\\d{3}|\\d{4})[.-]?(\\d{4})$";
String phoneRegExp = "^(050[234567]{1}|01[016789]{1})-?[0-9]{3,4}-?[0-9]{4}$"; String phoneRegExp = "^(050[2345678]{1}|01[016789]{1})-?[0-9]{3,4}-?[0-9]{4}$";
//파일 읽어서 탭으로 구분해주기 //파일 읽어서 탭으로 구분해주기
while ((line = reader.readLine()) != null) { while ((line = reader.readLine()) != null) {