Hi all,
Any regex experts out there? Here's what I'm trying to do:
The regex needs to match when:
- A document must contain the word Black and must also contain the word Blue, but cannot contain the word Green. The three words could be in any order, the document contains multiple lines and case is important.
Any ideas? Been banging my head against this for a while. Found a few ways that I thought worked, but more testing found that they didn't work in all cases.
Thanks
Al
Any regex experts out there? Here's what I'm trying to do:
The regex needs to match when:
- A document must contain the word Black and must also contain the word Blue, but cannot contain the word Green. The three words could be in any order, the document contains multiple lines and case is important.
Any ideas? Been banging my head against this for a while. Found a few ways that I thought worked, but more testing found that they didn't work in all cases.
Thanks
Al
Comment