Regular Expressions 101

Community Patterns

Stack Overflow 73802045

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 - a year ago