Im using the $ENV{'HTTP_REFERER'} tag within my script and need to find the way to strip down the urls by using reg expressions.
I want to change:
"http://www.yahoo.com/asd/2332ee2/e2e2e2e/23e23e2/23e23e/23e23e23e/23e/23e//23e etc"
to simply
"www.yahoo.com"
Thanks!!
I want to change:
"http://www.yahoo.com/asd/2332ee2/e2e2e2e/23e23e2/23e23e/23e23e23e/23e/23e//23e etc"
to simply
"www.yahoo.com"
Thanks!!