Hello,
Eve I had a similar kind of a problem, so i am interested in this thread, the solution you mentioned, i have tried it
Code:
Note: You can replace [0-9] by \ d
Code:
if(Pattern.games(F\\d +\\. "Line) | | Pattern.games("\\.\\d + "Line))
This line of the code does not work, thought thanks for the help.
I have tried something else here, just have a look
Code:
while((ln = in.readLine())!=null){
if(Pattern.games("^ F\\d +\\. "ln) | | Pattern.games("^\\.\\d + "ln)){
out.write(+ Onln System.getProperty("ln.separator"));
}
}
Any more help on this is highly appreciated. Thanks in advance.
Bookmarks