I simply need to extract some info between two tags, in this case, <title>
For example:
...
<title>I Need This!</title>
...
And I simply need to be able to get the information between the tags. I was thinking using split(), however, I haven’t been able to figure out how to cut all data before and after, and just catch the stuff in the title tags. As you can tell, I’m a beginner with text formatting. Thanks!
EDIT: An example of the type of file I’m looking through is here: https://gdata.youtube.com/feeds/api/videos/http://youtu.be/_OBlgSz8sSMg?v=2
I’m simply trying to take what’s in the title tags to get the title of the video.
Here’s the fiddle: http://jsfiddle.net/RPbSE/