Regular Expressions 101

Library entries

identify duplicate consecutive words + word combinations to remove

Vote

1

Regular Expression
pcre2

/
((\b\w+(\s+\w+)*(\s+\w+)*\b))(\s+\1)+
/
gm

Description

Loading markdown...
Submitted by GrantO - 5 months ago