Regular Expressions 101

Community Patterns

Last character

1

Regular Expression
PCRE (PHP <7.3)

Description

Get the last character from any line of a string

Submitted by Edward Aryee - 8 years ago