You might also look at URI::Find and friends.
In reply to Re: Getting only the link in a line by Your Mother in thread Getting only the link in a line by iphone