# str\_replace with ""

**URL:** <https://forum.kirupa.com/t/str-replace-with/204540>\
**Category:** programming\
**Created:** [October 20, 2006, 4:45pm UTC](https://forum.kirupa.com/t/str-replace-with/204540 "2006-10-20T16:45:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pbrollwitme](https://avatars.discourse-cdn.com/v4/letter/p/439d5e/32.png) [@pbrollwitme](https://forum.kirupa.com/u/pbrollwitme)\
**Post date:** [October 20, 2006, 4:45pm UTC](https://forum.kirupa.com/t/str-replace-with/204540/1 "2006-10-20T16:45:53Z")

</div>

Does anyone know how I can use the php str\_replace function for strings with " in them? for example “7” I would want to replace with “30”.

I was thinking:

```php

 
$news = str_replace(" .\""7 . "\""," . \""30 . "\"",$news);
 

```

Not sure that will work.

Actually, what I really need is a way to change the sizes that each font size has for FCKeditor. When you change the size of the text, it says size=“7”, I want it to be 30.

Thanks!
