Dim m As String
m = "Charles Dickens was born on 7th February 1812. The Dickens family lived near Portsmouth, on the south coast of England. Later the family lived in London."
m = m & CRLF & "Dickens had three brothers and three sisters. He was a small, thin boy. And he was often ill."
m = m.Replace(" ", " ") 'remove double spaces
m = m.Replace(CRLF, " ") 'replace CRLF by a space
Dim n() As String
n = Regex.Split(" ", m)
For i = 0 To n.Length - 1
' Log((i) & n(i))
If n(i) = "." Or n (i) = "," Or n(i).StartsWith(".") Or n(i).StartsWith(",") Or n(i).EndsWith(",") Or n(i).EndsWith(".") Then
'Msgbox(n,"")
'Log("D " & n(i))
End If
Next