TLE || simple ans using regex
This solution exceeds time\n\nplease suggest me where it goes wrong\n\n\nimport re\nclass Solution:\n    def longestBeautifulSubstring(self, word):\n        dat
This solution exceeds time\n\nplease suggest me where it goes wrong\n\n```\nimport re\nclass Solution:\n    def longestBeautifulSubstring(self, word):\n        data = re.findall(\'[a]+[e]+[i]+[o]+[u]+\',word)\n        return max(map(len,data)) if data else 0\n```
['Python3']