Find ID of paragraph based on the text match
<p>How can I get the ID of a paragraph when I pass text "Selection List" or "Deletion List".</p>

<pre><code>"&lt;p id="section_548540600_title" class="CollapseExpand CollapseExpand_active" title="Collapse / Expand"&gt;&lt;a href="javascript:void(0);"&gt;Selection List&lt;/a&gt;&lt;/p&gt;"

"&lt;p id="section_362548963_title" class="CollapseExpand CollapseExpand_active" title="Collapse / Expand"&gt;&lt;a href="javascript:void(0);"&gt;Deletion List&lt;/a&gt;&lt;/p&gt;"
</code></pre>
