Regular Expressions 101

Get h1-6 tag

Open Workspace
  • .NET 10.0 (C#)
  • Match
0

Regular Expression

@"
<(h[1-6]){1}(?:.*?)?>(.*?)</h[1-6]>
"
g

Description

<(h[1-6]){1}(?:.?)?>(.?)</h[1-6]>

Submitted by OlegBel