gladiusmaximus

Untitled

May 24th, 2014
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.15 KB | None | 0 0
  1. Pattern p = Pattern.compile(regex I sent you);
  2. Matcher m = p.matcher(one line in the file);
  3. if(m.matches()) {
  4.     System.out.println(m.group(1));
  5. }
Advertisement
Add Comment
Please, Sign In to add comment