<human>:  How to remove any URL within a string in Python
<bot>:*', '', text, flags=re.MULTILINE)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.