title: How do I identify an email address from a long string and replace the email address with my company's email address?
body: <p>The question is not only about identifying email address from a string. It is about replacing the found email address with the company email address.</p>
  
  <p>For eg. if i have a string as below:</p>
  
  <p>"Hi, My name is John Martin. I am a painter and sculptor. If you wish to purchase my paintings please look at my portfolio on the site and then contact me on <strong>john@gmail.com</strong>"</p>
  
  <p>I would like to replace the above string with</p>
  
  <p>"Hi, My name is John Martin. I am a painter and sculptor. If you wish to purchase my paintings please look at my portfolio on the site and then contact me on <strong>support@companyname.com</strong>"</p>