my code below works fine.
import re
def mycontent(text: str):
    netx = text
    urls = re.findall("MyText", netx)
    for i in urls:
        netx = netx.replace(i, "MyReplaceText")
    
    return netx
I want to combine this word with a few more words. How can I do that? Thank you.
import re
def mycontent(text: str):
    netx = text
    urls = re.findall("MyText", "MyText1" tnetx)
    for i in urls:
        netx = netx.replace(i, "MyReplaceText", "MyText1Replace"")
    return netx
I tried in the form but I couldn't get results, it didn't work.
 
     
    