Regular Expressions 101

Community Patterns

Prime times a letter

1

Regular Expression
PCRE (PHP <7.3)

/
^a?$|^(aa+?)\1+$
/

Description

no description available

Submitted by anonymous - 8 years ago