Re: java.regex
- From: Knute Johnson <nospam@xxxxxxxxxxxxxxxxx>
- Date: Fri, 30 Dec 2005 09:22:58 -0800
friend.05 wrote:
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.
--
Knute Johnson email s/nospam/knute/ .
- References:
- java.regex
- From: friend.05
- java.regex
- Prev by Date: java.regex
- Next by Date: Re: java.regex
- Previous by thread: java.regex
- Next by thread: iterator.
- Index(es):