Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2021-12-17 13:39
Flavor·PCRE2 (PHP)

/
(\b\w+\s)\1
/
igm
Open regex in editor

Description

mark a grup and then look if it comes after and make a substitution by only one

Submitted by anonymous