Regular Expressions 101

Library entries

Regex for html heading to get only text

Vote

0

Regular Expression
pcre2

/
(?!>)([^><]+)(?=<\/h[0-9]>)
/
gm

Description

Loading markdown...
Submitted by pwdmad - 13 days ago