Regent - eliminate routine text modifications!

Home

Order

Download

Documentation

Support

Main Regent window

Eliminate routine text modifications with auto generated regular expressions. From single example Regent creates search and replace regular expression to update all similar text fragments at once.

Order Lifetime License Now, $20
30 Day Money Back Guarantee

Download Fully Functional 30 Day Trial
Windows XP + .NET 3.0, Windows Vista
Visual Studio, Word and Perl languages

For example

You need to add interesting C++ library to .NET project. No problem, Regent will help to convert most of the code automatically. C++ library's code is opened in your Microsoft Visual Studio IDE, you find std::string title("Great!"); std::string company("Regex Inference"); std::string welcome("Welcome"); lines and decide to start conversion from strings.

Copy std::string title("Great!"); and paste it in Search for field in Regent. Enter or paste System::String^ title = gcnew System::String("Great!"); in Replace with field. Press Make regular expression. Content for Regular expression and Format string appear (see screenshot above) sharing common elements and escaping special regular expression language symbols.

To make regular expression match all similar fragments select title and click Apply (Regex suggestion of C/C++ identifier is exactly what we need here). Select "Great!" and click Apply (Regex suggestion of Quoted string is exactly what we need again).

That's all you need to know about regular expressions :) Copy resulting std{\:\:}string{ :i}{\(:q\);} and System\1String^\2 = gcnew System::String\3 directly into Visual Studio's Find and Replace dialog using VS button, select Regular expressions usage and Replace them All.


Copyright 2008 Sergey Vlasov