updated regex to allow upper case letters