Just Great Software

PowerGREP - Find files and information or search and replace through files and folders

 Welcome 

 

 Buy Now! 

 Our Guarantee 

 Download 

 Testimonials 

 Contact 

 

 Demos 

 Screen Shots 

 Features & Benefits 

 Examples 

 Windows grep 

 Regular Expressions 

 Perl Compatible 

 File Formats 

 

 Press Resources 

 Newsletter 

 Version History 

 Affiliates 

 

 

RegexBuddy - Learn, create, understand, test, use and store regular expressions
RegexMagic - Generate regular expressions
Regular Expressions Complete Tutorial and Reference
EditPad - Convenient, powerful and versatile text editor to edit all kinds of text files
AceText - Store, manage, edit and reuse text from a central location
HelpScribble - Full-featured help authoring tool for creating help files from start to finish
DeployMaster - Installation builder delivering your software with a good first impression
      

Use Exactly The Same Regular Expressions with PowerGREP and Perl, Java or .NET

PowerGREP Is Compatible with
Many Other Regular Expression Tools

PowerGREP's regular expression engine is fully compatible with popular regex flavors such as those used by Perl, Java and the .NET framework. PowerGREP also supports all the Perl 5 extensions, such as non-greedy operators and zero-width assertions. PowerGREP also supports the Java extensions (possessive quantifiers) to Perl's flavor, as well as the .NET framework's extensions (named capturing groups).

Perl-compatible regular expressions are also built into many other programming languages, such as JavaScript, Ruby, Python and PHP. Libraries are available for popular languages like Delphi and C++. Various software applications also allow you to use Perl-compatible regular expressions for certain tasks. The EditPad Pro text editor, for example, supports regular expressions in its search and replace function.

If you have already used regular expressions with any of those programming languages, or an application developed with those programming languages, you can instantly apply your skills to PowerGREP. If not, PowerGREP's documentation includes a detailed regular expression tutorial. When you learn how to use regular expressions, you will gain a valuable new skill that will come in handy in many situations.

Using PowerGREP Instead of Perl

If you are a seasoned Perl programmer, you probably often invoke the interpreter from the command line to apply a regular expression to a file. While that works fine, of course, you can do this a lot easier with PowerGREP.

Instead of typing perl -pi -e 's/foo/bar/' somefile on the command line, open PowerGREP's Replace page, type foo in the Search box, type bar in the Replace box, and click the Replace button. The advantage is that PowerGREP will allow you to easily inspect the replacements made, and even undo them by restoring the backup files it creates.

See PowerGREP in Action

There are four ways to see PowerGREP in action:

Read more about PowerGREP's features and benefits.

 

 

Page URL: http://www.powergrep.com/perl.html
Page last updated: 18 May 2005
Site last updated: 05 February 2010

Published by Just Great Software Co. Ltd.
Copyright © 2002-2010 Jan Goyvaerts.
All rights reserved.