Well, I have a question here and I do not know if it's possible to do what I want (I think so). The question is, do I have a switch (link) and follow example of cases (example link):
case " link ": break;
case " link ": break;
case " link ": break;
case " link ": break;
I need to do this with several links. Is there anyway, using Regex, to check in a case whether or not the url has this www. and /index.html not to be creating multiple unnecessary lines? (Note: if this is the case, it can be with if / else).