title: Find and replace strings in HTML
body: <p>From this HTML code:</p>
  
  <pre><code>&lt;p class="description" dir="ltr"&gt;Name is a fine man. &lt;br&gt;&lt;/p&gt;
  </code></pre>
  
  <p>I'm looking for replacing "Name" using the following code:</p>
  
  <pre><code>target = soup.find_all(text="Name")
  for v in target:
      v.replace_with('Id')
  </code></pre>
  
  <p>The output I would like to have is:</p>
  
  <pre><code>&lt;p class="description" dir="ltr"&gt;Id is a fine man. &lt;br&gt;&lt;/p&gt;
  </code></pre>
  
  <p>When I:</p>
  
  <pre><code>print target
  []
  </code></pre>
  
  <p>Why doesn't it find the "Name"?</p>
  
  <p>Thanks!</p>