I want to make a javascript function that will prompt user to put space after every 26 characters.Means it will be necessary for user to put space after 26 characters in a textbox which has total length of 58. if user put space before 26 letters then it should count
letters after space
I want to make a javascript function that will prompt user to put space
Share
Not entirely sure what you’re planning to do, but if you want to stop people from entering more than 26 non-space characters in a row, then the regex
will check for that. If it matches, the string contains 27 or more non-space characters.