in reply to extract whole sentence after a match of a word
also is it possible, in the result the word searched to be displayed in bold
That depends on how the result is displayed. If the output goes into a terminal, you can use Term::ANSIColor for the formatting, other choices of output require other things to do.
As you can see your questions are rather vague, so the answers must be as well.
|
|---|