Reputation: 1
I am looking for a regex that only takes out 2 or 3 characters. If there are more chars there should not be a match. See uploaded picture:
I already tried:
/^[A-Z]{2,3}$/
(\b[A-Z]{2,3})
Upvotes: 0
Views: 16