> Hi,
>
> How to apply pattern to a file.
>
> In matcher instead of using string I want to use "file.txt".
If you are trying to find a string in a file you will have to read the
file and attempt to find the matching string there. See the FileReader
and BufferedReader class and the readLine() method.

Signature
Knute Johnson
email s/nospam/knute/