title: Regex pattern which allow a string having length at least 8, but it not allow length 16
body: <p>My requirement is to create a regex pattern which allows a string having length of at least 8, and for the maximum, allow any length except 16.</p>
  <p>I tried this <code>^.{8,}$</code>  for requirement at least 8 character, but I am confused how to update it so that it can allow any length minimum 8, but not 16.</p>