From c593f007c8e6322d048b98a333a4b3b13e6ec0ee Mon Sep 17 00:00:00 2001 From: ysCha Date: Mon, 9 Feb 2026 13:20:47 +0900 Subject: [PATCH] =?UTF-8?q?=ED=8A=B9=EC=88=98=EB=AC=B8=EC=9E=90=20?= =?UTF-8?q?=EC=A4=84=EC=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/util/common-utils.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/util/common-utils.js b/src/util/common-utils.js index 2b3fe37d..57ed1d71 100644 --- a/src/util/common-utils.js +++ b/src/util/common-utils.js @@ -94,14 +94,14 @@ export const inputNumberCheck = (e) => { } } -// 영문, 숫자, 특수문자(ASCII)만 입력 체크 +// 영문, 숫자, 특수문자(_ . # ! & + - @)만 입력 체크 export const inputUserIdCheck = (e) => { const input = e.target - const allowedRegex = /^[A-Za-z0-9!@#$%^&*()_+\-=[\]{};':"\\|,.<>/?`~]*$/g + const allowedRegex = /^[A-Za-z0-9_.#!&+\-@]*$/g if (allowedRegex.test(input.value)) { input.value = input.value } else { - input.value = input.value.replace(/[^A-Za-z0-9!@#$%^&*()_+\-=[\]{};':"\\|,.<>/?`~]/g, '') + input.value = input.value.replace(/[^A-Za-z0-9_.#!&+\-@]/g, '') } }