Regular Expressions 101

Library entries

Regex head tags contents

Vote

0

Regular Expression
pcre2

/
(?<=<head>).*?<(\w*.)>(.*?)(<\/\1>)(.*?)(?=<\/head>)
/
gm

Description

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