Thanks for the reply, xrj. I should have been more clear though -- my real problem here is the /products/ part. The "col1" part is just for placeholders. Really the URL looks like, say,
collections/shirts/products/tee-shirt collections/tea/products/green-tea collections/coffee collections/coffee/products/cup-of-joe
So if I want to exclude anything under the "shirts" or "tea" collections, I can do
Now the coffee collection is fine, but it's not OK if the URL has "/products/" in it. But I'm finding that...
...doesn't work. I believe this has to do with that lookaheads don't move along the string, I'm just not sure where to go from there.