I'm having issues with a Form that customers are uploading non-breaking space characters into a Long Text field.
Using regex testing sites I was able to get the following pattern:
[^\h\s]+
The above pattern matches characters that aren't horizontal whitespace (catches the ' ' non-breaking space) or whitespace.
When I enable the "match regex pattern" option on my Long Text field, enter my pattern, and attach a Regex error message I don't receive the error message when testing and space characters are still accepted.
Any one run into this issue before? Any help is appreciated, thank you!
Hi @jayden.webb ,
I think you're almost there. Remove "^" character in the regex and try it again. That character is using for finding values "at start".
So, you are basically saying that:
"Remove one or more whitespaces at start"
But you want:
"Remove one or more whitespaces in text"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.