22382Re: [NTB] Regular Expression: find between two words
- Feb 23, 2012Using .* would be greedy by the way I believe ... is yours greedy? Or
if Word2 was included in the to be captured would it stop prematurely?
On 2/23/2012 3:09 PM, Eb wrote:
> CORRECTION to the regular expression I posted. John Shotzky has correctly corrected my previous post.
> "(?<=Word1 )[^\r\n]*(?= Word2)"
> as the search pattern described earlier.
- << Previous post in topic Next post in topic >>