Created
September 17, 2019 21:17
-
-
Save guillaC/648d87b7e7f03f08a2c792da8bac2927 to your computer and use it in GitHub Desktop.
regex eth/btc/xmr address
This file contains hidden or 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
| /* | |
| bitcoin = new Regex(@"\b(bc1|[13])[a-zA-HJ-NP-Z0-9]{26,35}\b"); | |
| ethereum = new Regex(@"\b0x[a-fA-F0-9]{40}\b"); | |
| monero = new Regex(@"\b4([0-9]|[A-B])(.){93}\b"); | |
| */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment