Jump to content
Asked by alanwunsche
Posted Oct 30 2010 08:10 PM
I have a URL which I've loaded into a variable as HTML. I need to be able to parse the data in the columns of the table and present the data in a different manner. The first step is parsing it but I can't seem to be find an easy way.
I'm trying regular expressions but there has to be a better way!
This is the js code so far:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="TextMate http://macromates.com/">
var re = /class="swimtime"href=/; //the regular expressions
var foundPosition = data.search(re); / find the location of the regular expression
Appreciate the help!
Comment by alanwunsche : Oct 31 2010 01:11 PM
I've had some success...
I went ahead and parsed the html I received here:
[code here to parse the feed]
Thanks in advance!