Ra içindeki tüm boşlukları değiştirme

0 Cevap php

Ben bu yüzden umarım birisi bana yardımcı olabilir bir süre için şimdi bu mücadele ettik. Ben örneğin bir çapa etiketi içindeki tüm boşluk yerine regex kullanmak gerekir.

Hello this is a string, check this <a href="http://www.google.com">Google is cool</a> Oh and this <a href="http://www.google.com/blah blah">Google is cool</a> That is all

Olmak gerekiyor

Hello this is a string, check this <a[SPACE]href="http://www.google.com">Google[SPACE]is[SPACE]cool</a> Oh and this <a[SPACE]href="http://www.google.com/blah[SPACE]blah">Google[SPACE]is[SPACE]cool</a> That is all

0 Cevap