Jump to content

Archived

This topic is now archived and is closed to further replies.

synted

Want to split an HTML Section into vars

Recommended Posts

I have grabbed a Webpage (HTML) from a remote site that contains name surname and stuff like that.... How can i put each one (result) into a var?

The page is like that:
[code]<html>
<head>
<title>Title Here.</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
Name:*********<br>
Surname:***************<br>
Number:***********<br>
Date:*************<br>
Date2:*************<br>
Phone:*************<br>
Phone:*************<br>
<br>
</body>
</html>
[/code]
(Also what to do with the two phones? The name is the same but they might be different data)

Share this post


Link to post
Share on other sites
I haven't made any type of crawling script, but you would have to look for particular words (using regexp?) and parse out the data you wanted.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.