Regular Expressions 101

Community Patterns

remove last char from string (once)

0

Regular Expression
PCRE (PHP <7.3)

Description

remove the last char from a string. Replace 'e' with the char to remove.

Submitted by anonymous - 8 years ago