Hi there!
TLDR: I am trying to filter text strings and find only those that are 6 characters in length or less.
More info:
I figured that ‘filter’ using regex is probably the way to go.
From my research it seems that this regex formula: /^[a-z]{6}$/
Or ^[A-Za-z]{0,6}$
Should return any 6 character results but I can’t get it to return anything so far:
I have tried quite a lot of other formulas I found on regular-expressions.info and stackoverflow but so far I am stumped.
The best I have been able to do so far is filter for words with 6 characters and longer [a-z]{6}
If you have any suggestions or leads I’d be very grateful.
Thank you!
p.s. If you know any good resources for learning how to work with strings that would also be great