Essential JS 2 for
Essential JS 2
Example for Simple Replace in ASP.NET Core DocIO Control
This sample demonstrates how to replace a specific text in the Word document with another text using the Find and Replace functionality of Essential DocIO.
Click the button to view the generated Word document. Please note that Microsoft Word Viewer or Microsoft Word is required to view the resultant Word document.
Text to Find :
Text to Replace :
Match whole word
Replace only the first occurrence
Save As :
DocIO allows you to replace a specific text in the Word document with another text.
You can replace either the first occurrence or all the occurrences of the text with other elements such as text, part of the document or an entire document.
You can replace the text by matching case, whole word and all occurrence or first occurrence alone.
You can also replace the content that spans across several paragraphs.
More information about the Find and Replace functionality can be found in this