I have the following paragraphs:
<p>This is a first paragraph.</p>
<p>This is a second</p>
<p>A third paragraph is here.</p>
<p>And a fourth</p>
The second and fourth paragraphs don’t have a full stop at the end of the sentence. Is there a way to select these paragraphs and then remove them with jquery/javascript?
of course it requires no extra spaces (or other characters) between the dot and the end of the paragraph: in that case a regular expression check instead of
charAt()could be a better choice