$x = 'A fox was <a href="/xyz/dancingwith">Dancing with</a> light. The night <a href="/xyz/treeare">tree are</a> growing.';
I want to become this
$x = 'A fox was <a href="/xyz/dancing-with">Dancing with</a> light. The night <a href="/xyz/tree-are">tree are</a> growing.';
i allePHP ersetzen Urls mit Anchor Text
<a href="xyz">x y z</a> to <a href="x-y-z">x y z</a>
oder
<a href="xaybzc">xA yB zC</a> to <a href="xa-yb-zc">xA yB zC</a>
ich mich das
Bitte werden wollen ersetzen wollen Hilfe.
Können Sie uns zeigen, was Sie versucht haben, die nicht funktioniert haben? –