\bword1\W+(?:\w+\W+){1,200}?word2\b
The above regex search only works on one line. It cannot search past the line break or carriage return of the line that contains word1. How can I modify it to search beyond the line break or carriage return?
Thank you for looking at this!