Click here to Skip to main content
15,886,110 members
Articles / Productivity Apps and Services / Microsoft Office

Unleashing the Full Power of Regular Expressions in Microsoft Office Documents

Rate me:
Please Sign up or sign in to vote.
4.54/5 (12 votes)
16 Jun 2008CPOL6 min read 48.4K   1.1K   30  
Part 1: A method of utilizing Regular Expressions to perform power searches in Microsoft Office Documents using .NET and the Microsoft Office Primary Interop Assemblies
using System;
using System.Collections.Generic;
using System.Windows.Forms;

namespace MSOfficeRegExDemo
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new MainForm());
        }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

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


Written By
Software Developer (Senior) DreamWorks Animation
United States United States
I started programming a TRS-80 Model I in Junior High School with the goal to write arcade games. Since then, I have had the opportunity to work with a wide variety of technologies and environments ranging from real-time telemetry data systems, state-of-the art animation and rigging software, 3D computer games, non-contact measurement acquisition devices, and digital TV systems. I have worked on everything from low-level device drivers to state of the art GUI apps using C#.

Comments and Discussions