Help for this page

Select Code to Download


  1. or download this
    my $text = "hello to all the perl monks";
    while ($text =~ /\b([A-Za-z'\-]+) (?=([A-Za-z'\-]+))\b/g) {
        print "$1 $2\n";
    }