Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
^[1]([123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]*)$
/

Description

Checks if a Bitcoin Address is in valid Base 58 format

Submitted by Rider Adkins - rideradkins@gmail.com - 9 years ago