Regular Expressions 101

Library entries

Prime number regex

Vote

2

Regular Expression
pcre

/
^1?$|^(11+?)\1+$
/
mg

Description

Loading markdown...
Submitted by originally "Abigail", comp.lang.perl.misc - 8 years ago