Regular Expressions 101

Community Patterns

File Hash (MD5, SHA1, SHA256, SHA512) Regular Expression

1

Regular Expression
PCRE2 (PHP >=7.3)

/
\b[a-fA-F0-9]{32,128}\b
/
gm

Description

Hash regular expression matches for md5, sha1, sha256 and sha512

Submitted by anonymous - 3 months ago