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 

 

 

Regex Buddy - Learn, create, understand, test, use and store regular expressions
Regular Expressions Complete Tutorial and Reference
EditPad - Convenient, powerful and versatile text editor to edit all kinds of text files
Ace Text - 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
      

What Regular Expressions Are and How You Can Benefit from Using Them

Introducing Regular Expressions

Regular expressions are used for searching through (usually textual) data. They allow you to search for pieces of text that match a certain form, instead of searching for a piece of text identical to the one you supply. For example, the regular expression [0-9]+ allows you to search through a file for any integer number.

It takes some time to get used to the syntax used by regular expressions. In our example, we used square brackets to create the character set [0-9]. This character set matches any character that is a digit. The + means that the character set must be matched as many times as possible, and at least once. PowerGREP's documentation contains a detailed regular expression tutorial. The tutorial clearly explains the entire regular expression syntax. You will also find many detailed examples stepping you through the entire process of creating both simple and complex regular expressions.

How You Can Use Regular Expressions

Many applications these days support regular expressions. With PowerGREP, you can search through files and folders on your computer or network, maintain files with search and replace operations, and collect information from files, all using regular expressions. PowerGREP's regular expression engine is fully compatible with popular regex flavors such as those used by Perl, Java and the .NET framework.

When you learn how to use regular expressions, you will gain a valuable new skill that will come in handy in many situations. Many popular applications, such as the EditPad Pro text editor, allow you to use regular expressions in their search and replace features.

If you are a programmer, you can save a lot of programming effort with regular expressions. How often did you write some code to parse a string? With a regular expression, you can do in a couple of lines of code what would otherwise require dozens of lines, and save coding and debugging time. You can easily test the regular expressions in an editor like EditPad Pro or a specialized regular expression tool like RegexBuddy, before putting it into your code.

Regular Expressions Information Center

Jan Goyvaerts, chief designer of PowerGREP, has created a comprehensive web site covering almost everything there is to know about regular expressions at http://www.regular-expressions.info. The site boasts a regular expression quick start, acomprehensive regex tutorial, plenty of regex examples and a concise regex reference.

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/regex.html
Page last updated: 18 May 2005
Site last updated: 22 June 2009

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