Hi!
I have a longer text, where I want to distinguish between textblocks that do contain a certain keyword, and that don't.
smaple woiefjeowijji oj
oiewjfoewijfoiwejfiojewf keyword owiejfioejoij
oiewjfioewjf smaple smaple ojioewj fijo
oieiojewf keyword owiejfioejoij
oiewjfioewjf smaple smaple woiefjeowijji fijo
oiewjfoewijfoiwejf owiejfioejoij
oiewjfioewjf smaple
1. The textblocks I want to find start with "sample" and end with "sample.
2. The textblocks I want to find then start with "sample" and end with "sample anddo contain the "keyword".
I just can't find the right regular expresstion. What should I use?