in reply to regx code

extract URLs from text
Extract URL from text
regex to extract fully-qualified domain name from full URL
How do I extract URLs?