Regular Expressions 101

Community Patterns

There does not seem to be anything here

Community Library Entry

1

Regular Expression
PCRE2 (PHP >=7.3)

Description

Optimal solution for Task 6 of https://regex101.com/quiz/6, beating s/(.)\1{2}/$1/g by one token.

Submitted by chakra - 5 months ago