Regular Expressions 101

Community Patterns

Trim leading filename id

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^([0-9])+[_]
/
gm

Description

Removes two numbers and an underscore

Submitted by anonymous - 2 years ago