<s>[INST] import re
text = "Email addresses are usually written in this format: myname@example.com, and sometimes myname@example.org. They can also be written as myname@subdomain.example.com, or even myname@verylongsubdomainname.example.co.uk."
text = re.sub(r'www\.|@', '#', text)
print(text)

I'm writing a code to extract email addresses from a given text. I am replacing the "@" symbol with "#" so that my regular expression can handle email addresses in a certain condition. But, it also replaces the "www." in the URL. How do I avoid this?[/INST]