So, I have a string of text:替換某些<a href..certain.domain.com... with php preg_replace
string with a bunch of links but i need to simply get rid of these <a href="a.domain.com">Title</a> string with more links and text
I need to get rid of everything from <a to a>
where a.domain.com
is present (its always the same domain) using PHP preg_replace.
It seems so simple but I can't figure this out >.< or find anywhere that explains regex :/
不,它只是需要刪除整個事情 網站看起來不錯壽 – King 2012-04-02 21:16:09