Skip to content

Instantly share code, notes, and snippets.

@guillaC
Created September 17, 2019 21:17
Show Gist options
  • Select an option

  • Save guillaC/648d87b7e7f03f08a2c792da8bac2927 to your computer and use it in GitHub Desktop.

Select an option

Save guillaC/648d87b7e7f03f08a2c792da8bac2927 to your computer and use it in GitHub Desktop.
regex eth/btc/xmr address
/*
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