Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
(?<![A-z])[A-z]{4}(?![A-z])
/
gm

Description

look for a word of 4 letter with the look behind and look ahead

Submitted by balzrog & torb500 - 9 years ago