I am trying to check if a current path is being used, for example:
www.mydomain.com/abc/123/content
How do I go about checking whether the current path is abc i.e. the check should succeed for all abc e.g. abc/123/content as well as abc/456/content but fail otherwise e.g. for bcd/123/content
thanks