Condition to test if a word exists in window.location.href
<p>I want to test if a word ["sublanguageid-all" to be specific] is present in the current address of the page using an 'if' condition.
I've tried /sublanguageid-all/g, but I'm not able to put it in an if-statement</p>
