Hi Team,
Let’s take an example such that a Documents consists of below text
Hello
World
How to write a regex pattern to match and create a content control? I need to match both Hello and World and it should create a …...ReplacingCallback = new ReplaceWithContentCo(doc, "MyContentControl"), MatchCase...patern = new Regex(pattern); doc.Range.Replace(new Regex(pattern...