How do I add a limit on characters using regular expression JSU?

Amy Nguyen December 13, 2018

Hi, 

I am trying to write an expression to limit the characters on a field to 130 using regular expression. It can be a combination of upper cases, lower cases and numbers. Please help! 

Thanks!

Amy

1 answer

0 votes
Brant Schroeder
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 13, 2018

Use the JSU Regular Expression Check and use a regex that is something like this /^(.|\n){1,130}$

Amy Nguyen December 13, 2018

This did not work for me. 

Suggest an answer

Log in or Sign up to answer