Fix regex

This commit is contained in:
Piotr Rogowski 2022-10-18 13:51:25 +02:00
parent dbd02ee93d
commit 959f898c5f
No known key found for this signature in database
GPG Key ID: 4A842D702D9C6F8F
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ const UploadPage = () => {
year,
].filter((field) => field !== null && `${field}`.length > 1)
.join(' ')
.replace(/[^A-z.\-\d ]/g, ''),
.replace(/[^\w.\-\d ]/g, ''),
};
const formData = new FormData();