This week's book giveaways are in the AI and JavaScript forums.
We're giving away four copies each of GANs in Action and WebAssembly in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of GANs in ActionE this week in the AI forum
or WebAssembly in Action in the JavaScript forum!
    Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

program to read and extract data from pdf file

 
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Report post to moderator
yes ulm
i am able to get all the text of pdf on the command prompt .

now i have to extract one particular string or may be more based on the requirement into an ordinary text document .

for example :
sample.pdf is my pdf file and have a data "javaranch" in some location in the pdf (currently it has got displayed on the command prompt)

now i should be able to extract that string "javaranch" into an ordinary text file /document .

i searched for the function to get a particular word into text doc in the pdfbox api in that PDFTextStripper but not able to find one

awaiting reply
 
Rancher
Posts: 43011
76
  • Mark post as helpful
  • send pies
  • Report post to moderator

ulm



Be careful to use the "Post Reply" button instead of starting new topics with your replies. Please post this in the original topic, and then we can continue the discussion.
 
and POOF! You're gone! But look, this tiny ad is still here:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!