• Post Reply Bookmark Topic Watch Topic
  • New Topic

Regarding Tabular Data  RSS feed

praveen valaboju
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am Having a Table data in this format

Name Date Invoice
Mark 11-11-2007 58986985

Amount WorkOrderNumber
50000 589696

can any help me regarding extracting the data for Name,Date,Invoice,Amount,WorkOrderNumber

Output Should be

Name Mark

Date 11-11-2007

Invoice 58986985

Amount 50000

WorkOrderNumber 589696

I have tried in this manner but unable to succeed

Matcher m = Pattern.compile("Name(\\s*\\W*\\w*\\W*.
W+([0-9-]+)|Invoice (\\W*(\\d+))|Amount(\\W*(\\d+))|WorkOrderNumber([\\d]*,*)").matcher(line1);

Any suggestions are welcome.


V.Praveen :roll:
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!