Regular Expressions 101

Community Patterns

Match Last Word Of Each Line

0

Regular Expression
PCRE2 (PHP >=7.3)

Description

Nice if you need to remove or extract the last word\string on a line.

Submitted by Heath Brown - 2 years ago