Use regex with implicit size validation