Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
(.*,\w*).*
/
gms

Description

Regex to remove blank lines at the end of a CSV

Submitted by Aaron Meese - 2 years ago