title: Extract text and anchor information from PDF using itext
body: <p>I am looking for a method to extract the text as well as anchor information using itext.</p>
  
  <p>For e.g.</p>
  
  <p>PDF contect: You can visit our website, <a href="http://www.google.com" rel="nofollow">XYZ</a>, and do something.</p>
  
  <p>Output should be: You can visit our website, XYZ (www.google.com), and do something.</p>
  
  <p>Basically I am trying to generate a text file with target links information.</p>
  
  <p>Regards,
  Lalit Kumar</p>