Regular Expressions 101

Community Patterns

Your search did not match anything

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
^.?$|^(..+?)\1+$
/
gm

Description

Find primes

Submitted by anonymous - 9 years ago