Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
141 views

Passing dynamic values inside a regular expression statement is not working? [duplicate]

I have a validation rule on an input field that allows a maximum of three words to be typed and I am using a regex rule (/^\s*(?:\S+(?:\s+\S+){0,2}\s*)?$/) to validate this. Now, I don't want to ...
Neha Soni's user avatar
  • 4,646