Hello, I’m using a variable Match that is a type of system.Text.RegularExpressions.Match. I need to count the number of matches then only take group (1) and the last group.
assign
Match = Regex.Match(in_PdfTxt.tostring.Trim,“Water \w+\s(\d{2}/\d{2}/\d{4}\s\d{2}/\d{2}/\d{4})”)
if Match.success then “Count number of matches”, can someone please show me how to construct this “count number of matches”. thanks!