Regular Expressions 101

Community Patterns

Community Library Entry

-2

Regular Expression
PCRE (PHP <7.3)

/
(<[^\@<>]+@[a-z0-9\.\s]+>)(*SKIP)(*F)|<([^\s]+)(\s[^>]*?)?(?<!\/)>
/
gmiu

Description

it check the html content with like html tag but not html.

somthing example@domain.com

this not html content but it has content like html tag.

Submitted by A. K. Asik - 10 years ago