Solved
Regex
Hi,
I want to use regex function to check if the entered value is a text ( both upper and lower case check) and if it's more than 12 characters.
^[a-zA-Z]{1-12}$" .I used like this. can someone guide here.
Hi,
I want to use regex function to check if the entered value is a text ( both upper and lower case check) and if it's more than 12 characters.
^[a-zA-Z]{1-12}$" .I used like this. can someone guide here.
This is confusing. Why do you check whether the string does NOT match the pattern. I mean, to make sure a string is digits only and max 12 characters, you can use this:
if(
regexmatch(
"^[0-9]{1,12}$",
ri!value,
),
null,
"The account must be numerical and no more than 12 numbers"
)Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.