J
JoeW
Sorry if I am asking something has already been asked but I am
somewhat stuck on a problem with regular expressions. My task is
simple: take an HTTP url and remove all the characters after the .com|
org|edu TLD identifier and return the string. So far all my attempts
have been unsuccessful. Basically all I want to do is take the URL
passed in and strip out the unwanted parts return the new string so i
can add it to a database for link tracking. Any pointers or maybe a
kick in the right direction?
Thanks again to any and all suggestions.
somewhat stuck on a problem with regular expressions. My task is
simple: take an HTTP url and remove all the characters after the .com|
org|edu TLD identifier and return the string. So far all my attempts
have been unsuccessful. Basically all I want to do is take the URL
passed in and strip out the unwanted parts return the new string so i
can add it to a database for link tracking. Any pointers or maybe a
kick in the right direction?
Thanks again to any and all suggestions.