I need to extract a sentence from a block of text containing a particular word. This one I have:
[A-Z][^\\\\.;\\\\?\\\\!]*(word)[^\\\\.;\\\\?\\\\!]*
You can use positive lookahead
(?=[\p{Any}]{30,250}.*)