Hi all, can anyone help me please with some information how can I extract specific data, like “Invoice posted” from a .html file, after I open ? As you can see in the picture, there is commas and space between data. The file looks like that so I need to extract this type of data and paste into SAP for processing. This process will be made everyday. The type of file will be the same but only that number of invoice will be different so how can I extract them ? I tried with data scrapping and save it into csv file but the content is not proper because I have that commas and spaces and I don’t know how can I solve this.
Do you want to extract these blue highlighted numbers? If yes, read this html into a text variable and then use the following regex
(?<=Invoice posted:\s?)\d+(?=/)
From what I see, in the “Test text” I have to write something or not ? I never use this type of activity, so, I’m sorry for so many questions. Can you make me please an example?
Now I choose the correct argument and is perfect. I so that in the table I have another data with 10 characters but I don’t need them, how can I write only the number that interest me? that is, all my numbers start with number 12 followed by 8 different characters, 10 in totally, but the first are specific only for the invoice number. How can I choose only that one ?
I attached the file. So, as you know I need only the numbers with 51 to copy and paste in the SAP for processing. The issue is that I need to process one by one so, maybe first will be saved into excel file and after that copy one by one. Report output.html (16.8 KB)
Thank you very much @ppr . Now, can you tell me please how can I paste this data into excel file to start to process in SAP ? because I think is necessary to do this to start to process forward or?