Update utils.py

Added regular expression constants for username and password validation.