[ABCD 13-9 | 20203107SUGAR:2789234]
[ABCD 13-4 | 20202101SUGAR:5345464]
–scarped from web into excel
want to convert into this
ABCD | dt | tint | date | Product |
---|---|---|---|---|
2789234 | 13 | 9 | 10-11-2020 | Sugar |
5345464 | 13 | 4 | 11-22-2020 | Tea |
[ABCD 13-9 | 20203107SUGAR:2789234]
[ABCD 13-4 | 20202101SUGAR:5345464]
–scarped from web into excel
want to convert into this
ABCD | dt | tint | date | Product |
---|---|---|---|---|
2789234 | 13 | 9 | 10-11-2020 | Sugar |
5345464 | 13 | 4 | 11-22-2020 | Tea |
testline and table are not fully matching or data is not present. in general we can try get it parsed with regex and refering to groups. We also can extract parts of the line and reprocess more in detail
Hi! welcome to community!
You can use String manipulation to achieve your requirement.
ex:-
Sample:
text.Split(" ".ToArray)(0).Replace("[","").ToString
Reference:-
Regards,
NaNi
i have edited the question again …it should match now
unsure about the date, but in general the same approach
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.