If you want help with regex, then you should better show us the input strings and the desired results.
See also SSCCE
On a side note: I'm personally using pdftohtml -xml to parse pdf.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re: Regular Expression to Parse Data from a PDF
by LanX
in thread Regular Expression to Parse Data from a PDF
by kevyt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |