I assume you want to exclude self-closing tags here, that's why you have the [^>\/]. But actually you disallow the slash inside attributes - this regexp won't match the <mytag href="http://www.wikia.com"> tag