Need to Extract the string between two strings where second string is different

Hi @avinashy

Use this regex to extract the values as per your examples

System.Text.RegularExpressions.Regex.Match(strPDFData,“(?<=Description\s:\s)([\S\s]*?)(?=\b(Article|Sold Date)\b)").Value.Trim

Thanks