Regular Expressions 101

Library entries

Find all html-tags except for some

Vote

1

Regular Expression
pcre

/
<(?!\/*strong\W|\/*h1\W|\/*input\W|\/*b\W).*?>
/
gm

Description

Loading markdown...
Submitted by anonymous - 3 years ago