Proper Usage of RegEx and storing data to Excel

I Have Data scrapped and stored in this format in variable.
I want 0000125260 in a cell and 20221210 in another cell.
These two will be same format but the numbers will keep changing.
I am trying to get them in excel. I understand i need to use RegEx but not getting correct format


Can you try these

0000125260 - \s\d{10}\n
20221210 - \n\d{8}\n


Use both the same way in assign