|
New in WordWriter v3.5, you can easily search Word documents by using powerful Regular Expression patterns and easily replace text. This sample demonstrates how to use the new Search & Replace functionality
Technical Overview
This sample uses the WordApplication class to open an existing document on the server and perform search and replace actions on it. First, view the stored document to determine which patterns to search for (search terms that work well are WordWriter, and template).
Remember that Regular Expressions are case sensitive. So, to search for "WordWriter" "Wordwriter", use this pattern: Word[Ww]riter.
View source
View the document that will be searched
Click to run demo

Copyright 2005 © SoftArtisans, Inc. All Rights Reserved.
|