ReplaceAction IReplacingCallback.Replacing(ReplacingArgs args)
{
try
{
// This is a Run node that contains either the beginning or the complete match.
Node currentNode = args.MatchNode;
…...the first paragraph after the parent node Paragraph para = currentNode...currentNode.ParentNode as Paragraph; // If no paragraph found, create a...