I want to filter the first paragraph from the course_description
object properties. I need only the first paragraph as highlighted in the screenshot. (a big rectangle)
var description = apiData[i].course_description;
console.log(description);
reshtm += '<div class="col-md-6">\
<a href="coursesdetails" class="well">\
<h1>'+apiData[i].course_name+'</h1>\
<p>'+apiData[i].course_description+'</p>\
</a>\
</div>';