Example of Simple Replace in ASP.NET MVC Word (DocIO) Library
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.
DEMO
SOURCE
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
documentation
section.