Guest User

Untitled

a guest
Jul 22nd, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. » echo "[ Edit ] [ Search Google ] [ Configure ]"|perl -pe 's/\[.*//'
  2.  
  3. while(my $token = $parse->get_token) {
  4. next unless $token->is_text;
  5. print $token->as_is unless $token->as_is =~ /\[.*/;
  6.  
  7. }
  8.  
  9. Output:
  10. EditSearch GoogleConfigure ]
Add Comment
Please, Sign In to add comment