I'm trying to match a pattern in a url that does not include a number.
For example:
/painters/1-joe-bob/dashboard
I would only want to match urls that are the following:
/painters
/painters/string
If the url includes /painters/1-something
then there should be no match.
I've been trying the following with no luck:
\/{1}(painters|contractors)\/?[^0-9][a-z]*
This still matches on /painters/
or /contractors/
Please advise.