I have a url which looks like this https://test.high.com/people/11111111-name-firstname-_custa/deals/new
Now i need to match document.URL if im on that Page if so i will alert a message.
The important part is /deals/new
How can i match that in Javascript?