$ perl -E ' $text = q{asddsyuhfurrh}; $item = $1 if $text =~ m{([^<]+)}; say $item;' dsyuhf $