Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
trans\('([a-zA-Z]+[.])+(testword|testword2|testword1|testword3)'\)
/
g

Description

trans replace

Submitted by Oktavian Master - 9 years ago