Hi,
I'm using Unique Regex Custom Field. We have a regex field where we're trying to say only allow a minimum of 25 characters.
This is the regex: ^.{25,}$
But I can submit the word "test" which is only 4 characters. Can you see where I'm going wrong?
Thanks!
Hi @HH
You can try using this regex \w{25}
This allows any alphabet or number and must be of minimum 25 characters .
That's not working for me either :(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try these for your luck.
[a-z]*[A-Z]*[0-9]*{25,1000}
or
[a-z]*[A-Z]*[0-9]*{25,}
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No sorry those still don't work for me :( Also tried ^.{25,1000}$ in case it needed the last number as well :(
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@HH , Sorry I'm not aware of any other applicable regex code.
Maybe if someone is aware of , do help both of us in understanding over the requirement .
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.