Help for this page

Select Code to Download


  1. or download this
    ...
    $a =~ s/foo/bar/g;
    ...
    $b =~ s/xxx/yyy/g;
    ...
    
  2. or download this
     Regex        Count   Time
     s/foo/bar/g  2,704   4.92 sec
     s/xxx/yyy/g  1,192   2.15 sec