Python || RegEx
Build a set by using set comprehension by iterating over addresses and subsituting 1. \'+\' and anything that follows up to @ and 2. substitute all \'.\' in loc
Build a set by using set comprehension by iterating over addresses and subsituting 1. \'+\' and anything that follows up to @ and 2. substitute all \'.\' in localname only (utilizing positive lookahead). Return length of the set:\n```\nclass Solution:\n    def numUniqueEmails(self, emails: List[str]) -> int:\n        addresses = { re.sub(   \'\\.(?=.*@)\',\n                                \'\', \n                                re.sub( \'\\+.*@\',\n                                        \'@\',\n                                        address )) for address in emails }\n        return len(addresses)\n
['Python']