title: PHP find & replace with str_replace in RTF document
body: <p>I'm pretty sure this is a futile thing I'm shooting for. But It's still worth a try.</p>
  
  <p>I'm successfully using str_replace() inside several RTF (Rich Text Format) files. Simple strings like the client's name, phone, addresses, etc....</p>
  
  <p>I notice on some of the RTF's are checkboxes.  I can't imagine a way to use str_replace() with checkboxes, in the sense of replacing with a 'checked' version or unchecked version of the box.  And as I look into microsoft word, the checkboxes appear to be part of the picture tools format.  And Open Office has their version as well, it seems.</p>
  
  <p>Either way, I'm not wanting to chase a dream if php cannot really find the rich text that produces the checkbox images.</p>
  
  <p>Does anyone agree?  or has someone been successful with this?</p>
  
  <p>I opened the RTF in a program called TEA (<a href="http://tea-editor.sourceforge.net/" rel="nofollow">http://tea-editor.sourceforge.net/</a>)</p>
  
  <p>Looking around, I found 2 examples inside:</p>
  
  <pre><code>For Sale by Owner?
  shapeType75fFlipH0fFlipV0pibFlags2fLine0fLayoutInCell1fLayoutInCell1d724799ad49a250ce6f9f6f010efdc1ad724799ad49a250ce6f9f6f010efdc1a
     Yes
  shapeType75fFlipH0fFlipV0pibFlags2fLine0fLayoutInCell1fLayoutInCell1d724799ad49a250ce6f9f6f010efdc1ad724799ad49a250ce6f9f6f010efdc1a
      No
  </code></pre>
  
  <p>So, I'm seeing shapetype75.... is what creates the box, and they are both empty boxes.
  I'm gonna guess I just need to create similar box that is populated, and pull my conditional code on those guys.</p>