username is 4-32 characters long no _,- or . at the beginning no __ or . or . or .. or .- or _- inside no _,- or . at the end
^(?=.{4,32}$)(?![.-])(?!.*[.]{2})[a-zA-Z0-9.-]+(?<![.])$