Hi Clifford,
For searching/replacing content in the document, you can use DocumentTextSearch class and its FindAll method, as described in
this help article. Note that the parameter of FindAll method is a regex. After fingind the necessary text ranges, you can replace them using RadDocumentEditor's (or RadRichTextBox's) method InsertField with appropriate MergeField as argument, as described
here.
Regards,
Boby
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application.
Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>