diff --git a/src/main/resources/templates/common/fragment/my-book/header/my-books-header-middle.html b/src/main/resources/templates/common/fragment/my-book/header/my-books-header-middle.html index e6a68d4d..c216c1f4 100644 --- a/src/main/resources/templates/common/fragment/my-book/header/my-books-header-middle.html +++ b/src/main/resources/templates/common/fragment/my-book/header/my-books-header-middle.html @@ -102,7 +102,7 @@ alert('검색어를 입력하세요'); event.preventDefault(); } - if (/[^a-zA-Z0-9ㄱ-ㅎㅏ-ㅣ가-힣]/.test(input)) { + if (/[^a-zA-Z0-9ㄱ-ㅎㅏ-ㅣ가-힣\s]/.test(input)) { alert('한글, 영문, 숫자만 입력할 수 있습니다'); event.preventDefault(); }