Note that there are some explanatory texts on larger screens.

plurals
  1. PORemove all <br/> tags from CKEditor Output html
    primarykey
    data
    text
    <p>I am using CKeditor in my application.When i save content of the CKEditor output is added with <br> tags like this.</p> <pre><code>&lt;B&gt;Summary:&lt;/B&gt; &lt;P&gt;&lt;BR&gt;&lt;SPAN style="TEXT-ALIGN: left; WIDOWS: 2; TEXT-TRANSFORM: none; BACKGROUND-COLOR: rgb(255,255,255); TEXT-INDENT: 0px; LETTER-SPACING: normal; DISPLAY: inline !important; FONT: 15px/20px Helvetica, Arial, sans-serif; WHITE-SPACE: normal; ORPHANS: 2; FLOAT: none; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"&gt;The company's latest tweet simply states that "our team continues to investigate, but at this time, we're still unable to confirm that any security breach has occurred. Stay tuned here."&lt;/SPAN&gt;&lt;/P&gt;&lt;BR&gt; &lt;P&gt;&lt;BR&gt;Facebook&amp;nbsp; : &lt;A href="http://www.facebook.com"&gt;http://www.facebook.com&lt;/A&gt;&lt;/P&gt;&lt;BR&gt; </code></pre> <p>How Can I remove all the "break" tags out of above sample using regular exression in javascript.</p> <p>Upon Save Text should be appended to "Summary : " like here </p> <blockquote> <p>Summary: Call back the department if you have not heard from them.The initial story was triggered after a user in a Russian forum claimed that he hacked and uploaded almost 6.5 millionThe initial story was triggered after a user in a Russian forum claimed that he hacked and uploaded almost 6.5 million</p> </blockquote> <p>But now it's coming like this </p> <blockquote> <p>Summary: </p> <p>The initial story was triggered after a user in a Russian forum claimed that he hacked and uploaded almost 6.5 millionThe initial story was triggered after a user in a Russian forum claimed that he hacked and uploaded almost 6.5 million</p> </blockquote> <p>I am using replace(/[\n\r\f]/g, ' ') ;</p> <p>replace(/\&lt;!>[\s\S]*?\&lt;!>/ig, '')</p> <p>but no use.help me.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload