If after domain name and an slash, if gallery is present then this regex should not match and any string other than "gallery" should be matched , Please tell how to modify the above regex.
https?://(www.)?(abc.com|fdsf.com|3545ab.com|tyrty.com)[^/]*/gallery/.*/.*/.*/should not match https?://(www.)?(abc.com|fdsf.com|3545ab.com|tyrty.com)[^/]*/news/.*/.*/.*/ should matchIn reply to Avoid a single value in the url by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |