siopaeile Posted December 5, 2009 Share Posted December 5, 2009 I'm pretty new to PHP, so I hope someone can point me in the right direction here. I'm trying to build a notetaking application. One of the things, I need to do is let someone paste formatted text into in input box. The input box must allow me to retain any formatting in the copied text. Then, I want to extract any color highlighted text and put it into another box on the web page. I have attached picture to show you what I mean here. For the second part of this, all I can think of is using Regular expressions to extract the highlighted text. Any easier alternative? Any scripts for this already out there? Thanks. Link to comment https://forums.phpfreaks.com/topic/184086-stripping-colored-text-from-standard-text/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.