I am trying to create a regular expression where the user should enter just a word or words with space between them and its length must have a limit [1 to 32].
For instance, it should accept below line;
wordX[space]wordX[space][space][space]wordX
but it should not accept that:
[space]wordX or wordX[space] or only [space]
wordX must be compatible with this regex:
^(([0-9A-Za-z!"#$%'()*+,./:;=?@^_`{|}~\\\[\]-]))$