I have this text that returns from a wordpress plugin's shortcode:
"Your plain link is: http://mywebsite.com/wordpress/wp-login.php?action=register&ref=1<br /><p> <small><em>Powered by <a href="http://markessence.com/blog/demo/wp-referral/" title="WordPress Referral Plugin" target="_blank" rel="external"> WordPress Referral Plugin</em></small></p>"
Out of all this text, how can I only keep the url "http://mywebsite.com/wordpress/wp-login.php?action=register&ref=1"
?