Help for this page

Select Code to Download


  1. or download this
    $x =~ m!\d+\s*\w+!;    # Note that the "m" prefix is required except w
    +hen the delimiter is "/"
    $x =~ s!\d+\s*\w+!_!;
    
  2. or download this
    $x =~ m[\d+\s*\w+];
    $x =~ s[\d+\s*\w+][_];