To clean up the messy data, it needs to be loaded into the Power Query Editor.
The core of the problem in Excel isn't that it lacks regex functionality. Indeed, in 2024, Microsoft introduced REGEXEXTRACT, ...