0
Good morning
I have a Txt file with a series of lines that divide the point beats that we have here in the company. Each line of this can contain the hit information, such as the time and collaborator.
However my REP gives me a file with a lot of information that is not useful for collecting these points. Knowing this I thought of doing a REGEX check to only get what is in the established pattern for the beats.
(NOTE: The name of the collaborator is optional. You may or may not have.)
What is the best way to process the information? Run a regular expression check for each interaction/line?
If yes, how would this expression look considering that an DFA follows the standards below
And do you really need regex? Just read the type of record and if that’s what you want just get the other data with Slices. Ex.:
if linha[9] == '5': data = linha[10:18]
and so on...– fernandosavio
One remark, it would be nice if you [Dit] your question and replace the image with the example texts by truth text. So someone can use it to help you without having to type all the text (spoiler: nobody does this).
– fernandosavio