I have a text document with 2 sentences:
stack overflow is the best. hello stack.
(the dot at the end indicate the end of the sentence.)
how to extract the whole sentence from text if the sentence contain the best
and output the whole sentence wich contain the best
:
output: stack overflow is the best.
nothing tried. what regex should i use?