Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

Description

Recovers the part before @

For example: teste@testregex.com

The regex will catch teste

Submitted by anonymous - 6 years ago