Hi,
Maybe this UDF (you have to enable Micrososoft VBScript Regular Expressions 5.5)
Code:
Function FilterNumbers(t As String) As String
'Go to Tools, References and check
'Microsoft VBScript Regular Expressions 5.5
Dim re As New RegExp
Dim Matches As MatchCollection, StrRst As String
Dim i As Long
With re
.Pattern = "\b\d+\b"
.Global = True
Set Matches = .Execute(t)
End With
If Matches.Count = 0 Then Exit Function
For i = 0 To Matches.Count - 1
StrRst = StrRst & Matches(i) & ", "
Next i
FilterNumbers = Left(StrRst, Len(StrRst) - 2)
End Function
A B
<TABLE style="WIDTH: 218pt; BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=291 border=0><COLGROUP><COL style="WIDTH: 149pt; mso-width-source: userset; mso-width-alt: 7277" width=199><COL style="WIDTH: 69pt; mso-width-source: userset; mso-width-alt: 3364" width=92><TBODY><TR style="HEIGHT: 15pt" height=20><TD class=xl63 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext 0.5pt solid; BORDER-LEFT: windowtext 0.5pt solid; WIDTH: 149pt; BORDER-BOTTOM: windowtext 0.5pt solid; HEIGHT: 15pt; BACKGROUND-COLOR: transparent" width=199 height=20>
201325 ABC, 30593 DEF
</TD><TD class=xl64 id=td_post_2763529 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext 0.5pt solid; BORDER-LEFT: windowtext; WIDTH: 69pt; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent" width=92>
201325, 30593</TD></TR><TR style="HEIGHT: 15pt" height=20><TD class=xl64 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext 0.5pt solid; BORDER-BOTTOM: windowtext 0.5pt solid; HEIGHT: 15pt; BACKGROUND-COLOR: transparent" height=20>
12 XYZ, 1 BBB, 123456 </TD><TD class=xl64 style="BORDER-RIGHT: windowtext 0.5pt solid; BORDER-TOP: windowtext; BORDER-LEFT: windowtext; BORDER-BOTTOM: windowtext 0.5pt solid; BACKGROUND-COLOR: transparent">
12, 1, 123456</TD></TR></TBODY></TABLE>
Formula in B1
=FilterNumbers(A1)
copy down
HTH
M.