I would like to use preg_match to find strings, which begin with any of these tags:
<h1-5><ol><ul><dl><li><dl><dd> and the closing ones with </xx>
I have made up two different regexps:
/[<V]{1,2}([ou]l|li|dl|dt|dd|h+[1-5])+>/i
and
/(<|</)([duo]l|li|dt|dd|h[1-5])+>/i
Which one is the right for me?