Help for this page

Select Code to Download


  1. or download this
    my $output = "";
    while ($text =~ m{\G(?:&plus;|(<maths>.*?<\/maths>|[^&<]+|.))}gs) {
        $output .= $1 || "&thinsp;&plus;&thinsp;";
    }
    print $output, "\n";