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

Hi @avinashy

Wouldn’t it work by just replacing “Article:” with “Sold Date” in your Regex

(?<=Description:)([\S\s]*)(?=Sold Date)

Your code would be:

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