' Collection of code snippets by Arne Vajhøj 
' (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
﻿Imports System
Imports System.Text.RegularExpressions

Namespace DF1
    Public Class Program
        Public Shared Sub Main(args As String())
            Dim s As String = "bla bla bla 11-DEC-2018 bla bla bla 12-DEC-2018 bla bla bla 13-DEC-2018 bla bla bla"
            For Each m As Match In Regex.Matches(s, "[0-9]{2}-[A-Z]{3}-[0-9]{4}")
                Console.WriteLine(m.Value)
            Next
        End Sub
    End Class
End Namespace
