Need guidance how to pattern match within a large amount of text.
Posted: 24 Jan 2016, 12:48
I have a large amount of text.
I want to find 3 bits of information.
I know exactly what comes before and after the text I want.
I need help on how best to pattern match.
I assume regular expressions is what I want?
Just not sure where to start.
That's the first step.
The second step is where my matches will be several.
So, I need to create an array and store one by one until the end of the text is reached.
Any help to start off would be great.
Thanks.
Omar
I want to find 3 bits of information.
I know exactly what comes before and after the text I want.
I need help on how best to pattern match.
I assume regular expressions is what I want?
Just not sure where to start.
That's the first step.
The second step is where my matches will be several.
So, I need to create an array and store one by one until the end of the text is reached.
Any help to start off would be great.
Thanks.
Omar