The place to start is to understand the format of the data in the file.
The sample posted uses either two tab characters "\t\t" or a single tab followed by some spaces, to separate the fields within the line.
However, I suspect that has been done simply for convenience in posting in this forum. Ideally, the file would stick to a simple, consistent format, such as
12345\tJoe Lim KH\t879.00\n
12233\tKay Suet Yee\t35.98\n
23781\tLeong Jing Yang\t10.00\n
67543\tWoon Tian Yi\t500.50\n |
where the '\t' represents the tab character and '\n' represents a newline.
Then separating the three items can be done by using getline() with a specified delimiter (tab, tab and newline), and converting the string to numeric format as necessary.
Otherwise, if there are just unspecified amounts of whitespace, it may be a case of first parsing the line into 'words', then using the first and last words for the numbers, and the middle words to make up the name. Messy, but not impossible.