I need a regex that gives me the word before and after a specific word, included the search word itself.
Like: \"This is some dummy text to find a word\" sh
[a-zA-Z]+\stext\s[a-zA-Z]+
I believe this will work nicely