I am trying to use jQuery to determine whether a URL contains any of a number of different strings. I have been successful in writing some code to determine if a URL contains just ONE string (see below), but I am not sure how to check if a URL contains any of a host of different possible strings. Logically speaking, I want to use jQuery to determine if a URL contains 'string A' OR 'string B' OR 'string C', etc. I could obviously write a completely different function for each string, but this seems terribly inefficient. Thanks in advance for your input.
$(document).ready(function(){
if(window.location.href.indexOf("360007912231") > -1) {
$("#catchildren1").show();
}
});