Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Regex on scanner question  RSS feed

 
Nakataa Kokuyo
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good day,

if i have an input file like following, what could be my regex? below is my try by using scanner


**Note: in front of value "20" is a tab

I trying digest a file with following format and i expect my result parse and store into List/array as below

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!