// Methode matches() in Java 2 Version 1.3 noch nicht vorhanden !!

public class RegExApp
{
   public static void main(String[] args)
   {
      String text = "fischers fritz fischt frische fische.";

      if (text.matches(".*fisch.*"))
      {
         System.out.println("Der Text enhaelt 'Fisch'");
      }
      else
      {
         System.out.println("Der Text enhaelt NICHT 'Fisch'");
      }
   }
}