Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
^0x[a-fA-F0-9]{40}$
/
g

Description

Check validity of ethereum address

Submitted by CorentinGC - 7 years ago