Can't we just add this to the regex below? I'm not a Regex expert but something like......

`/^[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789\-\_]{1,20}$/` should do the trick.