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

Regex for z-addresses in to/from #246

Description

@imylomylo

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions