Chat Now
BuySupport CenterDocumentationBlogsTrainingDemosFree TrialLog In
Office File API
V 20.2
20.2
20.1
19.2
19.1
18.2
18.1
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
All docs
Docs > Word Processing Document API > Examples > Search and Replace
All docs
V20.2

General Information

.NET Subscription

Overview

Common Tools

Project Converter
Assembly Deployment Tool
Localization Service

Quality Assurance and Productivity

CodeRush
CodeRush Classic
TestCafe Studio
Logify

Desktop

Controls

WinForms
WPF
VCL
UWP (Windows 10)

Tools

WinForms Skin Editor
WPF Theme Designer
WPF Theme Editor (Legacy)
Coded UI Test Extension

Frameworks and Libraries

eXpressApp Framework (XAF)
eXpress Persistent Objects (XPO)
XPO Profiler
Core Libraries

Web

Controls and Extensions

ASP.NET Web Forms Controls
ASP.NET MVC Extensions
ASP.NET Core Controls
ASP.NET Bootstrap Controls
DevExtreme
DevExtreme ASP.NET MVC Controls
Blazor Components

Tools

ASP.NET Theme Builder
ASP.NET Theme Deployer

Maintenance Mode

ASP.NET Core Bootstrap Controls

Mobile

UI Controls for Xamarin.Forms
Charts for iOS / Xamarin.iOS
Charts for Android / Xamarin.Android

Enterprise and Analytic Tools

Reporting
Report and Dashboard Server
Dashboard
Office File API

End-User Documentation

Interface Elements for Desktop
Interface Elements for Web
Dashboard for Desktop
Dashboard for Web
20.2
20.1
19.2
19.1
18.2
18.1
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
Full-text search
Office File API
Demo Application
Redistribution and Deployment (.NET Framework)
Install NuGet Packages (.NET Core)
Use Office File API on Linux (.NET Core)
Use Office File API on macOS (.NET Core)
Publish a .NET Core Application
Dockerize an Office File API Application (.NET Core)
Spreadsheet Document API
Word Processing Document API
Get Started
Word Processing Document
Supported Formats
Merge and Split Documents
Import and Export
Fields
Text Formatting
Hyphenation
Mail Merge
Printing
Export to PDF
Track Changes
Document Protection
HTML Tag Support
Examples
Files
Document Conversion
Text
Styles
Tables
Document Elements
Layout
Search and Replace
How to: Use Regular Expressions to Search and Replace Text Strings
How to: Find Words with Specific Number of Characters
How to: Remove Blank Lines from a Document
Protection
Printing
Mail Merge
Export
PDF Document API
Excel Export Library
Snap Report API
Zip Compression and Archive API
Barcode Generation API
Unit Conversion API
API Reference
Download CHM

General Information

.NET Subscription

Overview

Common Tools

Project Converter
Assembly Deployment Tool
Localization Service

Quality Assurance and Productivity

CodeRush
CodeRush Classic
TestCafe Studio
Logify

Desktop

Controls

WinForms
WPF
VCL
UWP (Windows 10)

Tools

WinForms Skin Editor
WPF Theme Designer
WPF Theme Editor (Legacy)
Coded UI Test Extension

Frameworks and Libraries

eXpressApp Framework (XAF)
eXpress Persistent Objects (XPO)
XPO Profiler
Core Libraries

Web

Controls and Extensions

ASP.NET Web Forms Controls
ASP.NET MVC Extensions
ASP.NET Core Controls
ASP.NET Bootstrap Controls
DevExtreme
DevExtreme ASP.NET MVC Controls
Blazor Components

Tools

ASP.NET Theme Builder
ASP.NET Theme Deployer

Maintenance Mode

ASP.NET Core Bootstrap Controls

Mobile

UI Controls for Xamarin.Forms
Charts for iOS / Xamarin.iOS
Charts for Android / Xamarin.Android

Enterprise and Analytic Tools

Reporting
Report and Dashboard Server
Dashboard
Office File API

End-User Documentation

Interface Elements for Desktop
Interface Elements for Web
Dashboard for Desktop
Dashboard for Web

Search and Replace

  • Mar 20, 2020

This section consists of the following examples:

  • How to: Use Regular Expressions to Search and Replace Text Strings
  • How to: Find Words with Specific Number of Characters
  • How to: Remove Blank Lines from a Document
Feedback
Was this page helpful?
Thanks for your feedback!
Any other suggestions? Tell us here.
Use of this site constitutes acceptance of our Website Terms of Use and Privacy PolicyDo Not Sell My Personal Information
Copyright © 1998-2021 Developer Express Inc. All trademarks or registered trademarks are property of their respective owners