title: Extract certain section of posts as an excerpt in WordPress
body: <p>I have a WordPress website, in which I have created multiple posts and bound them to a certain category.</p>
  
  <p>Each posts has 6 paragraphs.</p>
  
  <p><strong>Here is what I am trying to achieve:</strong></p>
  
  <p>I have created a child wordpress theme file, in which I am retrieving all the posts from a particular category.</p>
  
  <p>I want to display the 3rd paragraph from each posts ( upto 40 words ) as an excerpt.</p>
  
  <p>Anyone can help me to achieve this?</p>
  
  <p>Any help will be appreciated...</p>
  
  <p>Thank You</p>
  
  <p><strong>Edited:</strong></p>
  
  <p>Contents of one of the posts:</p>
  
  <pre><code>&lt;div id="grey"&gt;
  &lt;div id="title"&gt;
  &lt;h1 id="divtest"&gt;Title&lt;/h1&gt;
  &lt;/div&gt;
  &lt;div id="divContentText1"&gt;&lt;a href="#" class="button5"&gt;&lt;span class="button5_hover"&gt;&lt;/span&gt;&lt;strong&gt;Back To Test Page&lt;/strong&gt;&lt;/a&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="wrap" id="divPgInfo"&gt;
  &lt;div id="divInnerImgSliderWrap"&gt;[meteor_slideshow slideshow="test"]&lt;/div&gt;
  &lt;div id="divImgTxtWrap"&gt;
  &lt;h4 class="innerSlideHd"&gt;Test Title&lt;/h4&gt;
  &lt;p class="innerSlideText"&gt;It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English.&lt;/p&gt;
  &lt;p class="innerSlideText"&gt;Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).&lt;/p&gt;
  &lt;p class="innerSlideText"&gt;Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).&lt;/p&gt;
  &lt;p class="innerSlideText"&gt;Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).&lt;/p&gt;
  &lt;p class="innerSlideText"&gt;Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).&lt;/p&gt;
  &lt;/div&gt;
  &lt;div class="divClr"&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="divClr"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>Now I want to show the contents from the sentence "It is a long established...."</p>
  
  <p>Any help will be appreciated....</p>
  
  <p>Really Thank you...</p>