title: Replace https://www. and http://www. using Python regex
body: <p>I need to replace  <a href="https://www" rel="nofollow noreferrer">https://www</a>. , <a href="http://www" rel="nofollow noreferrer">http://www</a>. , http:// and https:// using Python3 regex for the below inputs;</p>
  
  <p>Input: </p>
  
  <pre><code> https://www.example.com/
   http://www.example.com/
   https://example.com/
   http://example.com/
  </code></pre>
  
  <p>Required output :</p>
  
  <pre><code> example.com
  </code></pre>
  
  <p>Can anyone help me please since I am a beginner in Python.</p>