Help for this page

Select Code to Download


  1. or download this
    
    # Load constants
    ...
    # Get the text from the previous paragraph
    my $prev_text = $selection->Previous( $CONSTANT{wdParagraph} )->{Text}
    +;
    
  2. or download this
    
    # Example title regex
    ...
           last if $text =~ $title_regex;
    }