Skip to content

Instantly share code, notes, and snippets.

@ourmaninamsterdam
Created July 24, 2013 21:43
Show Gist options
  • Save ourmaninamsterdam/6074841 to your computer and use it in GitHub Desktop.
Save ourmaninamsterdam/6074841 to your computer and use it in GitHub Desktop.
In progress. Gets innerText from any tag
(^<[a-z]+.)[a-z\"=\s:/.\<]+[>]+([^\<]+)
<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