Example of Simple Replace in ASP.NET Core Word (DocIO) Library

Word (DocIO)
Editing
Simple Replace
This sample demonstrates how to replace a specific text in the Word document with another text using the Find and Replace functionality of Essential Word (DocIO) library.
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 case      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 Documentation section.
Transform your ASP.NET Core web apps today with Syncfusion® ASP.NET Core components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab