So I'm learning about RegEx's at my coding bootcamp and we were given this problem
With JavaScript-compliant RegEx, write a RegEx formula that will match URLs containing /categories/, but not /product/. For example, the solution should match sportchek.com/categories/men/footwear and not match sportchek.ca/categories/training-shoes/product/.
No on in the class seems to understand how we would go about solving this problem and was wondering if someone might be able to point out some good documentation on RegEx. The instructors solution was lack luster at best so trying to find better explanations online.