 <p>Treat it as XML instead, and use XPath to grab the elements you're interested in:</p> <pre><code>$TableRow = [xml]@' &lt;tr&gt; &lt;td title="1/1/0001" role="gridcell" aria-describedby="AvailJQGrid_TARCreateDt" style="display: none;"&gt;1/1/0001&lt;/td&gt; &lt;td title="14060700421840" role="gridcell" aria-describedby="AvailJQGrid_OraRowScn" style="display: none;"&gt;14060700421840&lt;/td&gt; &lt;td title="1BC09064EF10431D9F54FEF9BA36B0A5" role="gridcell" aria-describedby="AvailJQGrid_AvailSAID" style="display: none;"&gt;1BC09064EF10431D9F54FEF9BA36B0A5&lt;/td&gt; &lt;td title="6837758D8E6542619DF23CF5EF4928C5" role="gridcell" aria-describedby="AvailJQGrid_ActivitySAID" style="display: none;"&gt;6837758D8E6542619DF23CF5EF4928C5&lt;/td&gt; &lt;/tr&gt; '@ $InterestingTD = $TableRow.SelectNodes('//td[@aria-describedby = "AvailJQGrid_ActivitySAID"]') </code></pre> <p>Instead of <code>.SelectNodes()</code>, you could also use the <code>Select-XML</code> cmdlet:</p> <pre><code>$InterestingTDselect = Select-Xml -Xml $TableRow -XPath '//td[@aria-describedby = "AvailJQGrid_ActivitySAID"]' $InterestingTD = $InterestingTDselect.Node </code></pre>