Question - What are the different ways to login to a remote server? Explain the means, advantages and disadvantages? 
          
        
        Answer - 
        There is at least 3 ways to logon to a remote server:
Use ssh or telnet if you concern with security
You can also use rlogin to logon to a remote server.
Please give a regular expression (preferably Perl/PREG style), which can be used to identify the URL from within a HTML link tag. 
Try this: /href="([^"]*)"/i