Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript replace p tags with new line

str = str.replace(/<p>(.*)</p>/g, "$1
"); 
 
PREVIOUS NEXT
Tagged: #javascript #replace #tags #line
ADD COMMENT
Topic
Name
5+1 =