Get sentence containing specific word with regex
<p>I am trying to find the sentence that contains a specific word.
I defined a sentence starting and ending with the following characters :<code>. ! ?</code></p>

<pre><code>var str = "Hello, how is it going. This is the bus we have to take!";
var regex = /[^.?!]*(?:[.?,\s!])(bus)(?=[\s.?!,])[^.?!]*[.?!]/igm;

var result = regex.exec(str);


output : `This is the bus we have to take!`
</code></pre>

<p>Now, I have trouble when I try to find the sentence that contains the word <code>hello</code>, as it's starting the sentence. How could I change my regex to include that case? I am not used to regex and it's quite hard to get into it, even with the docs under my eyes!</p>