Using Regex for a custom validation - text entory & limiting the number of inputs | XM Community
Skip to main content

Hello,

I am looking for a way to set a regex code in a name entry field with limiting (1)the content type to a text-only and (2) the max 35 characters.

Could anyone help me find an appropriate regex code for it? Thank you!

Hi @kuroseau Please try this:  ^a-zA-Z\s']{1,35}$


Thank you so much!


Leave a Reply