Updated regex for parsing invalid emails