hello regexp developers,
how can i replace text outside a html syntax by using reg exps in php?
I mean i have a text like
<h3>heading</h3>
<p>text</p>
<table>
<tr>
<td>cell1</td>
<td>cell2</td>
</tr>
</table>
or any html code.
now i want all the text outside the syntax (here: heading, text,
cell1, cell2) replaced by a special code like <img...>.
how can i code a reg exp pattern in php, that replaces each character
in the "real text" by an other piece of code, but doesnot change any
of the syntax statements?
anybodey got an idea?
help needed
andreas