Skip to content

Instantly share code, notes, and snippets.

@ruseel
Created February 25, 2014 11:54
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 ruseel/9207538 to your computer and use it in GitHub Desktop.
Save ruseel/9207538 to your computer and use it in GitHub Desktop.
find src from html
cat /dev/clipboard | ruby -n -e 'puts $1 if /img src="([^"]*)"/ =~ $_'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment