Hi all,
I have a text data in which I need to extract the taxes (in the data below it's JC = 5.20, FS = 17.60). Those taxes change from state to state so it's not always JC, FS etc; and sometimes they don't even exists (system error) or there's only one tax (system error)
My task is to extract those taxes into a map<
String,Double). One approach I thought of is to use matcher and patter and use in the compile: \s\w\w\s+\d+\.\d\d
I was wondering if there's a better approach?
Thanks!