Here is a macro that will split your row into columns at your request.
The processed range is what you selected. Results are written to adjacent columns on the same row.
Depending on your work sheet setup, you may “clear” the lines in which the results will be executed before executing the extraction code.
You can also write code to automatically select data. Many examples on this forum.
Option Explicit
Sub Extract5Digits()
Dim R As Range, C As Range
Dim RE As Object, MC As Object, M As Object
Dim I As Long
Set R = Selection
Set RE = CreateObject("vbscript.regexp")
With RE
.Global = True
.Pattern = "\b\d{5}\b"
For Each C In R
If .test(C.Text) = True Then
I = 0
Set MC = .Execute(C.Text)
For Each M In MC
I = I + 1
C.Offset(0, I) = M
Next M
End If
Next C
End With
End Sub
