Thanks for your help, I have managed to isolate the content I want by groups, my question now is the following, for example if I wanted only the third group, what would the expression be? I attach an example of regex to capture that line by groups
I usually use regex to extract the information and attach it to the datatable, but this is the first time that I have come across this complexity … once the groups are extracted, how do I add them to the separate datatable?
thanks for the video, but I can’t see how to convert those groups into variables … to add to the data table that I have already created for other documents
Maybe I did not explain it well, I try to create a datable with the regex expressions I am attaching the example, so I would like to know how to put group 0, group 1 in the expression …
Unfortunately that is not working, since I store the entire chain with all the groups … and when assig is a loop it doesn’t work, the chain is the following
Maybe you are using the wrong expression, in the link below, the expression I use appears,
1st I use matches and I introduce the expression in pattern, and I put an output variable, then I use a message box with the following MyVariable (0) .Groups (3) .toString ()
Perhaps it is the expression? Despite the fact that on the website that I attach the groups perform well for me?
I have changed the expression, but if I want to show the result in the message box, it returns the same expression, as if it were text … I have tried to include it in the datatable and it also gives an error, I will be doing something wrong … but I don’t know what
So insert a Matches activity.
Here is your Pattern:
([\d.]+)\s([\d.]+)\s([\d.]+)\s([\d.]+)\s([\d.]+) Here is a preview
The input will be your raw text.
Then you will need to assign each group from your result accordingly (I hope I have not misread any of your previous posts).