in the program \1 should replace the first number in the text but it is not replacing can anyone help
def remove():
    r=re.compile(r'(\d{6})')
    text=pyperclip.paste()
    m=r.sub(r'\1*****',text)
    print(m)
if we have a six digit number like 252526 then it should be replaced by 2*****
 
    