Regular Expression Test Applet
Fall 2002, David Matuszek
Summer 2006, Guy Lapalme

The point of this applet is to provide a convenient means of testing regular expressions before embedding them in a Java program. The buttons represent calls to the Java methods with the same name.

The applet executes (approximately) the following code:

pattern = Pattern.compile(Contents of the Pattern: field); 
matcher = pattern.matcher(Contents of the String: field);
matcher.Whatever_method_you_clicked(); Display results; 
ALT="Your browser understands the <APPLET> tag but isn't running the applet, for some reason." Your browser is ignoring the <APPLET> tag!