^\s*([^\s]{2,7})\s*$
z
ż
ź
az
aż
dół
dol
kolegów
koliber
korkociąg
traktorem
z len = 1 is matched: False group1= group1.len=0
ż len = 1 is matched: False group1= group1.len=0
ź len = 1 is matched: False group1= group1.len=0
az len = 2 is matched: True group1=az group1.len=2
aż len = 2 is matched: True group1=aż group1.len=2
dół len = 3 is matched: True group1=dół group1.len=3
dol len = 3 is matched: True group1=dol group1.len=3
kolegów len = 7 is matched: True group1=kolegów group1.len=7
koliber len = 7 is matched: True group1=koliber group1.len=7
korkociąg len = 9 is matched: False group1= group1.len=0
traktorem len = 9 is matched: False group1= group1.len=0