Skip to content
This repository has been archived by the owner on May 22, 2018. It is now read-only.

Regex for z-addresses in to/from #246

Open
imylomylo opened this issue Dec 6, 2017 · 0 comments
Open

Regex for z-addresses in to/from #246

imylomylo opened this issue Dec 6, 2017 · 0 comments

Comments

@imylomylo
Copy link

Hi SuperNET

To try to limit user errors, a regex for the input of wallet addresses might help people from making mistakes (and support requests)

e.g. var bitcoinAddressPattern = new RegExp(/^[13][a-km-zA-HJ-NP-Z1-9]{25,34}$/);
which I got from the 2nd response https://stackoverflow.com/questions/21683680/regex-to-match-bitcoin-addresses

HTH

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant