How could I get some part of url?
For example:
http://www.facebook.com/xxxxxxxxxxx http://www.stackoverflow.com/yyyyyyyyyyyyyyyy
I
$a="http://www.stackoverflow.com/yyyyyyyyyyyyyyyy"; if($a=~/\/\/\w+\.(.*)\// ) { print $1; } else { print "false"; }