I have used below code to insert Back to TOC shortcut after every paragraph. I want to insert at end of every paragraph a shortcut which will take the users to starting of TOC. But instead it is taking to ending of TOC. …...matches the section pattern if (Regex.IsMatch(paraText, @"^\d+(\.\d{1})+\s*"))...matches the section pattern if (Regex.IsMatch(paraText, @"^\d+(\.\d{1})+\s*"))...