Edited regex to work with usernames with spaces