^[_0-9a-z]{6,16}$

Created with RegexBuddy