Help for this page

Select Code to Download


  1. or download this
    $a=q{<tag ref=1>Start<tag ref=2>and more</tag>and end</tag>};
    @l=split qr{(</?tag[^>]*>)}, $a;
    print join "\n", @l;