3Re: RegExp: Finding words Like AND in Boolean
- Sep 4, 2002--- In ntb-scripts@y..., Jody <av1611@e...> wrote:
> Hi All,In Perl you can put && between patterns for logical AND matching, but
> Using RegExp can I make it do Find:
> this AND this AND that, but in any order?
> All three have to be there.
> this AND that AND this
> I've tried
I don't think that's considered part of the "regular expression."
You can alternate all the variations, e.g.,
(thisthisthat)|(thisthatthis) or if you know anything about the
order, you might be able to do something like this: th.*at
- << Previous post in topic