Hello Team ,
We are replacing tag in word template , we have require if tag present in single line and value is empty , we need to remove line , to avoid blank line in completed doc .
using below code to replace tag
p…...Replace(pattern, "", options); Note: This will not work for tags...refer to the official release notes before applying this guidance...