Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy. This forum is not for asking programming related questions.
I want to extract all the timestamps fields that reside in a "recieve" div and put them in an array, and do the same for those that reside in a "send" div. The thing is, I'd like to avoid using regular expressions because I don't want to spend the time learning the syntax right now (unless the requisite syntax wouldn't be that hard to learn?). I can use C, Ruby, Perl, or PHP. (Although I am hoping to avoid doing it in C since the easiest way I can think of doing it there is not as easy as I'd like it to be.) Basically, in the end I just want the timestamps sorted into seperate arrays that way I can do things like find the difference between sent messages and the closest recieve message, etc.
if the whole file takes that form, preg_match_all to get the div layers, then inside of that preg_match_all for each span, sort through the resulting array categorizing them into an array based on the class attribute