Click here to Skip to main content
15,883,705 members
Articles / Productivity Apps and Services / Microsoft Office / Microsoft Word

Find and Replace Text in a Word Document

Rate me:
Please Sign up or sign in to vote.
5.00/5 (41 votes)
14 Jun 2016CPOL4 min read 101.8K   3.1K   42  
Pure .NET solution for performing find and replace text on Word documents (DOCX file format)
This article, you will find various approaches that can be used to search and replace the Word document's text using only the .NET Framework (without using any third-party code).

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer GemBox Ltd.
Croatia Croatia
I'm a developer at GemBox Software, working on:

  • GemBox.Spreadsheet - Read, write, convert, and print XLSX, XLS, XLSB, CSV, HTML, and ODS spreadsheets from .NET applications.
  • GemBox.Document - Read, write, convert, and print DOCX, DOC, PDF, RTF, HTML, and ODT documents from .NET applications.
  • GemBox.Pdf - Read, write, edit, and print PDF files from .NET applications.
  • GemBox.Presentation - Read, write, convert, and print PPTX, PPT, and PPSX presentations from .NET applications.
  • GemBox.Email - Read, write, and convert MSG, EML, and MHTML email files, or send and receive email messages using POP, IMAP, SMTP, and EWS from .NET applications.
  • GemBox.Imaging - Read, convert, and transform PNG, JPEG, and GIF images from .NET applications.

Comments and Discussions