Regular Expressions 101

Community Patterns

Used to search last occurence of a string and trim it to the required digits

0

Regular Expression
PCRE2 (PHP >=7.3)

/
(R[0-9][0-9][0-9][0-9][0-9](?=\w+$))
/
gm

Description

Submitted by Sri - 3 years ago