Replace Using Regex Python Documentation String Functions