Hi,
I have a number of Word documents that were used for merging via a find a replace vba macro, and I need to convert these to use proper merge fields (with Aspose.Words).
Currently the 'place holders' are just plain text (e.g. [[FirstName]]), and I need to programatically find all of these and convert them to proper merge fields (e.g. «FirstName»). In doing so, I need to preserve the format used for the placeholder (assuming the placeholder is all the same format).
I've been trying to work ut how to do this from the documentation with no success.
I would greatly appreciate if you could provide a vb.net code snippet to find and replace a single field. E.g. find all occurances of [[FirstName]]) and replace with «FirstName».