Regular Expressions 101

Community Patterns

Community Library Entry

2

Regular Expression
PCRE (PHP <7.3)

/
\bvari?((?<=i)a)?((?<=a)b)?((?<=b)l)?((?<=l)e)?\b
/
g

Description

This reges searches all abbreviations of command "var|iable" in multiline script

Submitted by ibes - 11 years ago