Regular Expressions 101

Community Patterns

Search for .onion domains

0

Regular Expression
PCRE (PHP <7.3)

/
\b[2-7a-z]{16}\.onion\b
/
g

Description

Does what it says on the tin.

Submitted by anonymous - 7 years ago