Regular Expressions 101

Community Patterns

Search CSV line for foobar matches

1

Regular Expression
PCRE (PHP <7.3)

/
(?:(?:\,[,^.]{0,}|^)(foobar)[,^.]{0,})
/
g

Description

Search CSV line for foobar matches

Submitted by Balmark - 8 years ago