Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    my $data = '<w:body><w:p w:rsidR="00A654E7" w:rsidRPr="00AD741F" w:rsi
    +dRDefault="00A654E7" w:rsidP="00A654E7"><w:pPr><w:pStyle w:val="Stand
    +ard"/><w:rPr><w:rFonts w:asciiTheme="minorHAnsi" w:hAnsiTheme="minorH
    +Ansi" w:cstheme="minorHAnsi"/><w:sz w:val="20"/><w:szCs w:val="20"/><
    +/w:rPr></w:pPr><w:r w:rsidRPr="00AD741F"/></w:body>';
    
    print "Matches found:\n" . join (",\n", $data =~ m@(<[^>]*/>)@g) . "\n
    +";
    
  2. or download this
    Matches found:
    <w:pStyle w:val="Standard"/>,
    ...
    <w:sz w:val="20"/>,
    <w:szCs w:val="20"/>,
    <w:r w:rsidRPr="00AD741F"/>