Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
(.*?)(?<abc>[a-zA-Z]{4})(.*)
/
gm

Description

Given a string, generate random alpha characters of a particular length

Submitted by Chetan - 4 years ago