Regular Expressions 101

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
(^[áéíóúÁÉÍÓÚ]\w+ \w+[áéíóú]\w+|^[áéíóúÁÉÍÓÚ]\w+ \w+|^\w+[áéíóú]\w+ \w+[áéíóú]\w+|^\w+[áéíóú]\w+|^\w+ \w+[áéíóú]+\w+)|^\w+( [\-_+] \w+|[\-_+]\w+)|^\w+ [^\d]\w+|^\w+ [a-zA-Z]|^\w+
/
gm

Description

sure that can be more shortly, but well... and a newbie

Submitted by metaStringDay0 - 2 years ago