Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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 Champion
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