I have a PHP regex that I want to fail if the matched word after /blog
is just feed
.
This MUST be done within the regex itself, not using any other PHP syntax.
The regex currently looks like this:
blog/([a-zA-Z0-9\-]+)
What would I add to this to properly negate the regex if feed
is found after blog/
?