Regular Expressions 101

Community Patterns

Block any TLD between 5 and 24 chars but exclude .world TLD

0

Regular Expression
PCRE (PHP <7.3)

/
(?=(From:|Return\-Path:)(.*\@.*\.[a-z]{5,24}$)\b)(?!.*\b(world)\b)(.+)
/

Description

no description available

Submitted by anonymous - 7 years ago