I've been really struggling with regex lately ... I never quite got the hang of it. I'm currently hung up on trying to match on the following in my .htaccess file:
^foo/([A-Za-z0-9]+)/([0-9]+)$
The catch is that I want the alphanumeric string to NOT be one of a short list of words i.e. (bar|baz|bat)
How can I match on any alphanumeric word as long as it is not in a list?