Help for this page

Select Code to Download


  1. or download this
    @array=('a.b','a');
    @result=grep (/\ba\b/,@array);
    print $_."\n"for(@result);
    
  2. or download this
    Result:-
    a.b
    a