i am having trouble trying to find out how i can parse this.
https://sso.sprintpcs.com/sso/registerForAccountPhoneNumberAction.do
all of the urls i have in log need to be parsed, and they all have three / in them.. (http://www.google.com/)
how can i delete everything after the 3rd / ?
$link = 'https://sso.sprintpcs.com/sso/registerForAccountPhoneNumberAction.do'; preg_match_all('#https?://[^/]+/#i', $link, $matches); print_r($matches[0]);