Do you know if there is an easy way of counting paragraphs in a textarea using nothing but javascript?
Thanks,
You can improve Sean Viera answer by splitting on (\n *\n)/g instead of just \n\n then you have no issues with spaces between the paragraphs
(\n *\n)/g
\n\n