Hi can someone help me to find out exact
pattern in the following case ?
I made one program which searched out all the files in my computers and made one csv file..!!!
I did this successfully..so I know that in my system I have a lot of movies..
I want to list out all the movies name from that file..!!
movie name can have either divx or avi extension..!!
I dont know what should be the pattern to search..?
I tried following ;
but doesn't work...giving me out put at
[code]
----------
JAVA ----------
c.avi,
a.avi,
l.avi,
g.avi,
Output completed (0 sec consumed) - Normal Termination
[code]
here is the code where i am searching that;
[code]
Matcher m = p.matcher(line);
boolean b= false;
while((b = m.find()))
{
System.out.println(m.group());
}