Coder Social home page Coder Social logo

syncfusionexamples / word-find-and-replace-examples Goto Github PK

View Code? Open in Web Editor NEW
14.0 6.0 7.0 1.15 MB

Find and replace text in a Word document in C# and VB.NET without Microsoft Word or interop.

Home Page: https://www.syncfusion.com/word-framework/net/word-library

C# 100.00%
find-and-replace find-and-highlight-text find-and-replace-text word-find-and-replace-text replace-text-with-image replace-text-with-merge-field replace-text-with-table replace-several-paragraphs find-several-paragraphs syncfusion

word-find-and-replace-examples's Introduction

Word Find and Replace examples

This repository contains examples that illustrates how to find and replace text in Word documents programmatically in C# and VB.NET using Syncfusion .NET Word library (DocIO) without Microsoft Word or Office interop dependencies.

Find and replace text in Word documents using C#

The Syncfusion .NET Word library (DocIO) provides comprehensive APIs to find and replace text in a Word document with any desired text, image, hyperlink, paragraph, table, and part of a document or an entire document. It provides options to find text by matching case and whole words. You can find each occurrence one by one or all the occurrences of a text in the document. It saves your efforts and time by helping you to automate find and replace a pattern of text in a Word document using Regex. It allows you to save the resultant document as Word document (DOCX, WordML), PDF, image, HTML and more.

Key Features

Screenshots

Find and highlight text

Find text from a Word document and format or highlight it in C#

Find and replace text

Find a misspelt word from a Word document and replace it with desired word in C#

Replace text with table

Find text from a Word document and replace it with a table in C#

Syncfusion .NET Word Library

The Syncfusion DocIO is a .NET Word library allows you to add advanced Word document processing functionalities to any .NET application and does not require Microsoft Word application to be installed in the machine. It is a non-UI component that provides a full-fledged document instance model similar to the Microsoft Office COM libraries to iterate with the document elements explicitly and perform necessary manipulation.

Take a moment to peruse the documentation, where you can find basic Word document processing options along with the features like mail merge, merge, split and compare documents, find and replace text in the Word document, protect the Word documents, and most importantly, the PDF and Image conversions with code examples.

Compatible Microsoft Word Versions

  • Microsoft Word 97-2003
  • Microsoft Word 2007
  • Microsoft Word 2010
  • Microsoft Word 2013
  • Microsoft Word 2016
  • Microsoft Word 2019
  • Microsoft 365

Supported File Formats

How to run the examples

  • Download this project to a location in your disk.
  • Open the solution file using Visual Studio.
  • Rebuild the solution to install the required NuGet packages.
  • Run the application.

Resources

Support and feedback

License

This is a commercial product and requires a paid license for possession or use. Syncfusion's licensed software, including this component, is subject to the terms and conditions of Syncfusion's EULA. You can purchase a licnense here or start a free 30-day trial here.

word-find-and-replace-examples's People

Contributors

girija-rajendran avatar gunasekarant avatar mohanaselvamjothi avatar sarubala20 avatar venkateshmuruganandam avatar vinothkumar-ganesan avatar yvone-atieno avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.