Regex to match a string that does not contain any words longer than 10 characters?
- by Mrgreen
^(.)+\S{10}(.)+$
I have that regex which will match any string that contains a word of 10 characters.
However I need the INVERSE of that.
A regex that will only match strings which do NOT have words of =10 characters.