Help for this page

Select Code to Download


  1. or download this
    my $text = '  <bold>, I<italic>, and B<I<bold and italic>> text.';
    
  2. or download this
    $VAR1 = [
              '<bold>',
              ', I<italic>, and B<I<bold and italic>> text.',
              '  '
            ];
    
  3. or download this
    my @line = extract_bracketed($text, '<>', qr(.*?(?=<)));
    
  4. or download this
    $VAR1 = [
              '<bold>',
              ', I<italic>, and B<I<bold and italic>> text.',
              'A line with B'
            ];