regex to find a word before and after a specific word

前端 未结 5 2143
半阙折子戏
半阙折子戏 2020-12-02 19:35

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

5条回答
提交回复
热议问题