Does anyone know how to use preg_replace in a way to change the following string
<a href="http://www.ulr . php" target=" _blank"> http://www.url/thank . php </ a>
into this
<a href="http://www.ulr.php" target="_blank">http://www.url/thank.php</a> more text
Thanks
1 Answer