Regular Expressions 101

Community Patterns

Find Basic Auth in URL (without protocol)

0

Regular Expression
PCRE (PHP <7.3)

/
^.+?@(?=[a-z0-9-]{0,61}\.[a-z]{2,})
/
gm

Description

no description available

Submitted by Aaron Murray - 7 years ago