Hi Team,
I want to extract no of records and Amount value from text file via regular expression.
Sub-Total Product X3 Rejected : No of Records = 0000 Amount = 0.00+
Generated : No of Records = 0008 Amount = 65,000-
Received : No of Records = 0009 Amount = 75,000-
Sub-Total Product X4 Rejected : No of Records = 0012 Amount = 0.00+
Generated : No of Records = 0016 Amount = 15,000-
Received : No of Records = 0019 Amount = 25,000-
expected output after Reading Text value
thanks
mg
I want to extract no of records and Amount value from text file via regular expression.
Sub-Total Product X3 Rejected : No of Records = 0000 Amount = 0.00+
Generated : No of Records = 0008 Amount = 65,000-
Received : No of Records = 0009 Amount = 75,000-
Sub-Total Product X4 Rejected : No of Records = 0012 Amount = 0.00+
Generated : No of Records = 0016 Amount = 15,000-
Received : No of Records = 0019 Amount = 25,000-
expected output after Reading Text value
Records | Amount | |
Rejected | 0 | 0 |
Generated | 8 | -65000 |
Received | 9 | -75000 |
Rejected | 12 | 0 |
Generated | 16 | 15000 |
Received | 19 | 14000 |
thanks
mg