Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
[123]+(123)*2
/

Description

/[123]+(123)*2/ Input: 1,2,3,4,5,6,7,8,9,0,10,11,12,13,14,15,16 Find: 12

Submitted by Tomer Levi - 10 years ago