Regular Expressions 101

Community Patterns

EOS.IO public key

0

Regular Expression
PCRE (PHP <7.3)

/
^EOS[A-HJ-NP-Za-km-z1-9]{50}$
/
g

Description

This regex tests that a string is formatted in a way that is compatible with the restrictions on EOS.IO software public keys.

Submitted by Thomas Cox - 6 years ago