Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl -l
    
    ...
    for ($doc->findnodes('//span/text()')) {
        print $1 while /$re/g;
    }
    
  2. or download this
    <span ...>%var%</span>
    
  3. or download this
    <span ...>
        %var%
    </span>
    
  4. or download this
    <root>
        <A>
    ...
            </C>
        </B>
    </root>
    
  5. or download this
    PN1
    PN2
    ...
    DIMINCH
    DIMMM
    DIMINCH
    
  6. or download this
    for my $context ($doc->findnodes('//span')) {
        print $context;
    ...
            }
        }
    }
    
  7. or download this
    <span color="#231f20" whatever="%DoNotMatch%" textOverprint="false">%P
    +N1%</span>
    %PN1%
    ...
    %DIMMM%%%%DIMINCH%
    DIMMM
    DIMINCH