title: Selecting the lines in a text file starting with integer values in java
body: <h2>I have scraped a file from pdf using pdfbox for java and the output is as follows:</h2>
  
  <pre><code>Tribhuvan University
  
  Institute of Engineering
  
  Entrance Examination Board
  
  BE/BArch Entrance Examination 2070
  
  Pass List
  
  ROLLNO NAME GENDER DISTRICT Percent Rank
  
  1001 AADARSH        DEO MALE Saptari 51.429 3442
  
  1002 AADARSH        MALLA MALE Bajhang 43.429 5714
  
  1003 AADARSHA        KHANAL MALE Rupandehi 40.571 6709
  </code></pre>
  
  <p>The list goes on with the repetition of first 6 lines in every page[150 pages]. What I need to do is to select the lines that starts with the integer value in java and create a new file with the list that starts with the integer value.</p>