Help for this page

Select Code to Download


  1. or download this
    s//#Just#Another#Perl#Hacker#/;
    s/\b\W/$1 /g;
    print;
    
  2. or download this
    s//J-J-J-J>Just Another Perl Hacker/;
    s/\b\w\b//g;
    print;
    
  3. or download this
    # using boundaries
    
    ...
    s//#foo foo foobar foo#/;
    s/(?<=[^\w])foo(?=[^\w])//g;
    print;