SyntaxFix
Write A Post
Hire A Developer
Questions
Why not try this?
html:
<p> a b c </p>
js:
$("p").text().trim();