Your goal is extract all the 6 amounts right??? i am saying you can do with groups…and you just have to get the different groups to print the required amounts…i also shared the example above…you dont want to do in the effective way??
It may not be the best way to do it with 6 different expressions, but it is the only way to unify all the different types of documents that I have, that’s why I was asking,
Your documents have same text pattern right?? I would like to see…could you please share the couple of more text formats like the one you shared above…i will put it in the text file and show you how to handle multiple documents…
Regex groups or 6 different pattern – does not matter , if your input text doesnt follow the same pattern Regex won’t work even if I give 6 different regex…that’s my point…hope you get it…
I understand you, but the same with the translator I think that I am not understood, the project that I have depending on the document, uses several regex expressions to extract data, with all the documents I have not had a problem, it extracts the regex expression from a database without problem, I use 6 expressions for each document, and so I always make sure of the same structure, the problem, I have it in the text that I have passed before, for some reason I am unable to create 6 expressions to follow the same process, that’s why help. I don’t know if you understand me … still thank you
835,80 - Link
21,00 - Link
175,52- Link
0,00 - Link
0,00 - Link
1.011,32 - Link - (Assumtion on this pattern: there will be always a date before this field, if not it won’t work)
Hope this helps…Let me know, if it didn’t work any other texts(same pattern)…I will happy to assist…
because in the first text an amount appears at the beginning that I want to omit, I really don’t know if I explain myself? I would like to omit the amount between the “Importe total:” and "EUR "and after that omission it should work or the amount does not appear