We have a requirement in .net application , we have a template that contains some merge field, some bookmarks, and some other special tags, So we want to remove blank space just after only that merge fields,which contains string "Fragment: ".
we are using Aspose Word dll version 18.104.22.168.
Please find the attachment of sample template. It will help you for more understanding.
like in the attached template we have a merge field «Fragment: fc_caption» , So we want that we can remove extra blank space(blank line space) just after these type of merge fields only.
demo template.zip (9.1 KB)