regex - How do I match this string -
quick question. how match
site.com/characters/ and not match
site.com/characters/characters2 attempt:
site.com/[a-za-z]+/?
quick answer:
your approach fine. should have used $ (terminating character) specify match.
site.com/[a-z]+/?$
Comments
Post a Comment