I'm tring to find <20> UNIQUE Registered in hostname <20> UNIQUE Registered and replace it with "" in python. Below is my code. Please inform me where my syntax is wrong to replace this string:
string = string.replace(r'<\d*2> UNIQUE Registered ', "")