pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tilman Hausherr <THaush...@t-online.de>
Subject Re: PDFBox and Pattern
Date Mon, 09 Jan 2017 06:25:22 GMT
Am 09.01.2017 um 01:12 schrieb criekenb@web.de:
> Dear all,
>   
> I have a pdf with tables (and some other stuff).
>   
> I used
> Pattern p = Pattern.compile("([0-9]{5})[A-Z]?");
> to get the lines with 5 digits an optional a char.
>   
> How to read the whole line if a match was found?

You already have the line if you checked whether it matches.

> Otherwise: Is there a good alternative to read in the data as table directly?

Try tabula

>   
> Other topic: Is it not possible to send attachments here?

No

Tilman

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org


Mime
View raw message