Skip to content

Instantly share code, notes, and snippets.

@maxkarelov
Last active November 11, 2015 11:09
Show Gist options
  • Save maxkarelov/c1e4fc7708f344dbc123 to your computer and use it in GitHub Desktop.
Save maxkarelov/c1e4fc7708f344dbc123 to your computer and use it in GitHub Desktop.
parsing snippets patterns grep bash curl

get xml tag content

grep -oPm1 "(?<=<title>)[^<]+"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment