I'd like to exclude word user
and gallery
using regular expression.
^/(?!user|gallery)([a-z0-9_-]{3,64})$
My regexp also excludes words like mygallery
(in which gallery
is a substring). I want to have mygallery
included.
Thanks a lot in advance.