Regex Tuesday Challenge - Week Nineteen

Challenge number nineteen is another golf challenge; in this challenge, you must match all the valid HTML tag names in as few characters as possible. You match only valid tag names - more failing test cases may be added later.

To test a regular expression on the test cases below, type it into the text input. Each test case will be marked as passed or failed respectively - you are aiming to get as many test cases as you can to pass. Note that JavaScript must be enabled for this feature to work. The regex engine used is the JavaScript regex engine; it is similar to PCRE, but with a few differences.

Test cases (0/168)

a
match
abbr
match
address
match
area
match
article
match
aside
match
audio
match
b
match
base
match
bdi
match
bdo
match
blockquote
match
body
match
br
match
button
match
canvas
match
caption
match
cite
match
code
match
col
match
colgroup
match
command
match
datalist
match
dd
match
del
match
details
match
dfn
match
div
match
dl
match
dt
match
em
match
embed
match
fieldset
match
figcaption
match
figure
match
footer
match
form
match
h1
match
h2
match
h3
match
h4
match
h5
match
h6
match
head
match
header
match
hgroup
match
hr
match
html
match
i
match
iframe
match
img
match
input
match
ins
match
kbd
match
keygen
match
label
match
legend
match
li
match
link
match
map
match
mark
match
menu
match
meta
match
meter
match
nav
match
noscript
match
object
match
ol
match
optgroup
match
option
match
output
match
p
match
param
match
pre
match
progress
match
q
match
rp
match
rt
match
ruby
match
s
match
samp
match
script
match
section
match
select
match
small
match
source
match
span
match
strong
match
style
match
sub
match
summary
match
sup
match
table
match
tbody
match
td
match
textarea
match
tfoot
match
th
match
thead
match
time
match
title
match
tr
match
track
match
u
match
ul
match
var
match
video
match
wbr
match
ab
no match
acronym
no match
applet
no match
az
no match
ba
no match
basefont
no match
big
no match
c
no match
center
no match
d
no match
dad
no match
dir
no match
e
no match
eb
no match
f
no match
font
no match
frame
no match
frameset
no match
g
no match
ga
no match
gurtrood
no match
h
no match
h0
no match
h7
no match
h10
no match
in
no match
j
no match
jam
no match
k
no match
key
no match
l
no match
la
no match
m
no match
man
no match
n
no match
o
no match
old
no match
put
no match
queen
no match
r
no match
rn
no match
slower
no match
strike
no match
t
no match
tab
no match
tf
no match
tt
no match
un
no match
v
no match
vw
no match
vehicle
no match
w
no match
weird
no match
x
no match
xx
no match
y
no match
yahooa
no match
z
no match
zebra
no match
zebras
no match
Congratulations, your regex passes all the test cases! Remember to share this challenge.