Hi, I have some articles stored in a text field in my database. There are times when the article includes <textarea>content.....</textarea>
The problem is that when the content is displayed on a page using php, it includes the actual <br><br><br>. The <br> is placed there by the text editor (CKEditor)
So it looks like the following
<textarea><-- this actually becomes a textareaThis content is shown inside the text area
<br>but the problem is that the<br>is also shown.</textarea>
How can I strip <br> from the <textarea> tags only. I imagine some preg replace would be useful.