Replace Using Regex Python Documentation Functions Of Behavior