Imports System.Text.RegularExpressions Imports System Public Class MainClass Shared Sub Main() If Not Regex.Match("Address", "^[0-9]+\s+([a-zA-Z]" & _ "+|[a-zA-Z]+\s[a-zA-Z]+)$").Success Then ' address was incorrect Console.WriteLine("Invalid Address") End If End Sub ' Main End Class