I am using parsley js for validating input and I am using the data-parsley-pattern which allows me to pass in regular expression.
I am trying to validate the string to m
"[^\s][^\s][^\s]+" [] contains a character class. /s is a whitespace character. ^ works kind of like a logical not. The + catches one or more of the previous character You may need to add more backslashes depending on any special escape characters
"[^\s][^\s][^\s]+"
[]
/s
^
+