Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2022-01-23 08:53
Flavor·PCRE2 (PHP)

/
.(?=.{4,}$)
/
gm
Open regex in editor

Description

This regex allows you to access the last 4 charecters in a string and manipulate them however you want

Submitted by anonymous