Regular Expressions in Java

Package com.stevesoft.pat version 1.5.3

Home
Articles/Links
Mugs, T-shirts Comments/Raves
New in 1.5.3
A Game
An Online Test
Questions

Copyright/License
Download Free

 If you need a non-LGPL version
You Can Buy!

Online help...
Quick Start
Tutorial Part 1
Tutorial Part 2
Tutorial Part 3
Tutorial Part 4
Tutorial Part 5
Tutorial Part 6
Examples
Support
FAQ
Documentation

Useful apps...
Java Beautifier
Code Colorizer
GUI Grep
Swing Grep

Other stuff...
Phreida
xmlser

Guigrep

As you might guess from the name, guigrep it is a tool for searching files for strings of text. Just type


  java com.stevesoft.pat.apps.guigrep

and the application will start (providing your CLASSPATH is set correctly).

To use it, type the pattern you want to search for in the first line, and a file pattern with which to select files in the current directory on the second line (*.java for all java files, *.{java,html} for all files that end in either .java or .html)-- then hit return. Guigrep will then display all the matches to your pattern. It will print file names as it processes them.

The matched lines are displayed in color. Blue is used for the file and line number, red is used for the matched portion of the text, and black is used for the rest of the line.

The source code: guigrep.java