Jul-19-2019, 09:12 AM
I believe that this line:
Then groups is what is found using phonenumber regex
groups[1], groups[2], groups[5] are the 2nd, 3rd and 6th positions in the result of regex find (zero based)
text=str(pyperclip.paste())copies the clipboard text into variable text.
Then groups is what is found using phonenumber regex
groups[1], groups[2], groups[5] are the 2nd, 3rd and 6th positions in the result of regex find (zero based)