我有从 wordpress 插件的简码返回的文本:
"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>"
在所有这些文本中,我怎样才能只保留 url "http://mywebsite.com/wordpress/wp-login.php?action=register&ref=1"
?