Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Dim str As String
Dim ary() As String
Dim i As Integer
Dim strDate As String
[green]
'str = "press-conference 01.04.2015"
'str = "20.03.2015, annyversary celebration"[/green]
str = "wedding party, 23.05.2015 at Palace Hotel"
ary = Split(str, " ")
For i = LBound(ary) To UBound(ary)
strDate = Replace(Replace(ary(i), ".", "/"), ",", "")
If IsDate(strDate) Then
MsgBox "This is your Date: " & strDate
End If
Next i
Public Function getDigits(myField)
Dim S As Long, l As Long, x As String
If Trim(myField & "") = "" Then
getDigits = myField
Exit Function
End If
S = 1
Do While S <= Len(myField)
x = Mid(myField, S, 1)
If (x >= "0" And x <= "9") Then
Exit Do
End If
S = S + 1
Loop
l = S
Do While l <= Len(myField)
x = Mid(myField, l, 1)
If (x < "0" Or x > "9") And x <> "." Then
Exit Do
End If
l = l + 1
Loop
getDigits = Mid(myField, S, l - S)
End Function