Replace part of a string in Python?

>>> stuff = "Big and small"
>>> stuff.replace(" and ","https://stackoverflow.com/")
'Big/small'

Leave a Comment