Hello all!
I would like to change all the links containing string "microsite" from $contenido1 to: <a href="http://www.whatever.com">Link not available</a>. The rest of the links of $contenido1 would have to be ontouched. To do this, I tried $contenido1=eregi_replace("(<a href=.*microsite.*</a>)","<a href=\"http://www.whatever.com\">Link not available</a>",$contenido1); It changes links with "microsite" in it but erases the ones without microsite. How can I make this work? TIA Regards -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]