Check if in string there are 18 digits

@camaro123 You can use regex.ismatch so it will give Boolean result

System.Text.RegularExpressions.Regex.IsMatch(str_PdfResult,“(\d{18})”).ToString

1 Like