Hello,
I need to extract the amount 32,765.00 from the string below.
Sometimes it will be preceded by EUR, other times USD etc.
I tried using Regex but it only extracted the "121212121" at the end of the text.
Appreciate any help, thanks in advance.
Convert Please Pay EUR 32,765.00 Inv No: DCB121212121 |
This also worked if the strings before the currency stay the same: "Convert Please Pay \u\u\u (.*) Inv"
And the plus side it just requires one tool (still need to clean up white spaces tho)
Thanks all, however, it now seems I have to allow for other words appearing after the amount. Given the words before the 3 digit currency code and the amount will always be the same "Convert Please pay" (e.g. Convert Please pay USD 32,750) followed by the 3 character Currency code and the amount, can anyone suggest how to allow for different Currency codes appearing and just extract the amount on each row each time? Much appreciated.
Hi @PDempsey
In future, please try to include a sample input file that includes all variations of your data. This will allow us to build a generic solution without any unnecessary back and forth.
Thanks
Dan
User | Count |
---|---|
52 | |
27 | |
25 | |
24 | |
21 |