Skip to content

Instantly share code, notes, and snippets.

@ourmaninamsterdam
Created August 31, 2013 12:23
Show Gist options
  • Save ourmaninamsterdam/6397870 to your computer and use it in GitHub Desktop.
Save ourmaninamsterdam/6397870 to your computer and use it in GitHub Desktop.
Get text from inside tags
<.+?>
<a href="http://www.google.com">Google</a>
<a class="myclass" href="http://www.bbc.co.uk">BBC</a>
<a id="myid" href="http://www.yahoo.com" class="myclass">Yahoo</a>
<div><a href="http://www.google.com">Google</a></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment