use strict; use warnings; use Test::More tests => 1; my $str = 'xxx
xxxxxxxxx'; like $str, qr/<(?!strong>)/, "Valid tag found";