DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
5+1 =
Submit