Community Patterns

Community Library Entry

0

Regular Expression
Created·2022-12-08 15:32
Flavor·PCRE2 (PHP)

/
(?=[^\/]+$)(.*(?=\.))
/
gm
Open regex in editor

Description

Extracts string between the last / and .

Submitted by superfranky32