If you would like to perform an action on specific pages that contain a certain url pattern but exclude it from pages that do not contain another pattern use the "Url contains" site location and the "Current url" segment. The "Current url" segment supports a "does not include" option

Did this answer your question?