Hi, we have a document template which has multiple option tags with text. The text inside the option tags along with the option tag will be deleted based on the condition. For example, in the attached template, we have 3 options. If the condition met the first option, the rest of the options text along with the tag should be deleted. We have tried the find and replace with regex options, but unable to get the text inside the tags.
SBSuriya Balamurugan Syncfusion Team March 9, 2023 02:36 PM UTC
From the given details, we have found that your requirement is to find and replace
multiline text between start and end tags using Regex.
To achieve your requirement, we suggest you to use the FindSingleLine
API in the Word document to find the multiple paragraph text using Regex as
text selections and then remove the paragraphs of the selected text along with
We have prepared the
sample application to find and replace multiline text between start and end
tags using Regex as per your requirement and it can be downloaded from the