Dim R as Regex = New Regex( _ "(?# Match a floating-point number ... )" & _ " \d+(?:\.\d*)? (?# with a leading digit... )" & _ " | (?# or ... )" & _ " \.\d+ (?# with a leading decimal point )", _ RegexOptions.IgnorePatternWhitespace) ----------------------------------------------------------------------------- Copyright 1997-2024 Jeffrey Friedl