Modified email regex to match beginning/end of string.