this is the current expression i’m using, but when i input a value it only accepts 1 letter
when i input more than 1 i get an invalid input.
"regex":"/^(?:[a-zA-Z\ \']{30}|)$/",
what type of expression might be suitable for the input that i’m looking for?
ex:
John Franklin
or
(blank input)
The following should work for you:
I’ve tested it and it appears to fit your needs.
For clarity,
*means ‘match 0 or any number of characters’, which from my testing, satisfies your ‘blank’ requirement.