Preg_replace kullanarak bir cümlede bir sözcüğü değiştirmek

0 Cevap php

Nasıl böyle bir dize yerine

style = "color: red; width: 90%;" class = "textbox"

karşı

style = "color: red; width: 65%;" class = "textbox"

kullanılarak preg_replace?

I just want karşı replace "width:90%" with "width:65%" and the rest of the string should stay as it is. What regular expression should I use karşı accomplish this?

0 Cevap