Skip to content

Instantly share code, notes, and snippets.

@neanias
Created March 10, 2017 14:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neanias/0946996d2d38fd2175e32edb6ba8e0cd to your computer and use it in GitHub Desktop.
Save neanias/0946996d2d38fd2175e32edb6ba8e0cd to your computer and use it in GitHub Desktop.
echo '2017-03-10 14:08 <tbrb> ok i need to look at how to sed' | perl -pe 's/\d{4}-\d{2}-\d{2} \d{2}:\d{2} <\w+> //g'
#=> ok i need to look at how to sed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment