export function containsCapitals(str: string) {
return /[A-Z]/.test(str);
}
export function containsLowerCase(str: string) {
return /[a-z]/.test(str);
}
export function containsNumber(str: string) {
return /\d/.test(str);
}
export function containsSpecialCharacter(str: string) {
const format = /[ `!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?~]/;
return format.test(str);
}