We need to print a line when the 3rd field (with trailing ";" delimiter) is, eg, exactly 5 lower case characters awk ' $3 ~ /^[a-z]{5,5};$/ {print $0} ' file ... doesn't work. Suggestions? thanks Len