diff --git a/src/app/shared/constants/regex-constants.ts b/src/app/shared/constants/regex-constants.ts index f55f98d139..c6d81dbb05 100644 --- a/src/app/shared/constants/regex-constants.ts +++ b/src/app/shared/constants/regex-constants.ts @@ -5,6 +5,6 @@ export const TEXT_REGEX: RegExp = /^\S[А-Яа-яЇїІіЄєЁёҐґ'’`\s-]*$ //Regex for lastName, firstName, middleName, fullName export const NAME_REGEX: RegExp = /^[А-Яа-яЇїІіЄєЁёҐґ''’`\s-]*$/; //Regex for non-latin characters -export const NO_LATIN_REGEX: RegExp = /^[А-Яа-яёЁ0-9.,_\-!@#$%^&*()+={}\\|<>~`':;"]+$/; +export const NO_LATIN_REGEX: RegExp = /^[А-ЩЬЮЯҐЄІЇа-щьюяґєії0-9.,_\-!@#$%^&*()+={}\\|<>~`':;"]+$/; //Regex for date export const DATE_REGEX: RegExp = /[^0-9./-]*/g;