![]()
| Post-Process Substituted and Collected TextFlexible Data Conversion and Extraction
Often, when converting files with search-and-replace or when collecting data, the original search match isn't quite in the format you'd like it to be. E.g. when extracting Google queries from referring URLs in your web server's log files, varies characters in the Google queries are URL-encoded, making them hard to read. PowerGREP's "extra processing" feature gives you the unique ability to search-and-replace each individual search match or substitution text with an extra regular expression sequence. This way you can use far simpler regular expressions or even literal text to convert or extract the data in the format you want. In the screen shot, you can see a PowerGREP action and its results, extracting Google queries from the logs of this web site. The main regular expression is a simple adaptation from the example regex to match Apache web log items. The extra processing is set to a list of seven easy plain text substitutions, replacing the 7 most common URL-encoded characters in each collected Google query. Doing this with a single regular expression in a basic Windows grep tool would have been impossible. The Most Powerful GREP Tool for Windows
Get Your Own Copy of PowerGREP NowThere are two ways in which you can get your own copy of PowerGREP and evaluate the software risk-free.
Alternatively, you can download the free evaluation version of PowerGREP. The free evaluation version can be downloaded anonymously. It allows you to explore PowerGREP for 15 days of actual use. Full documentation is included. The documentation extensively covers both PowerGREP itself, and the regular expression syntax.
| ||||||
|