You are here: Re: Parsing txt file « PHP Programming Language « IT news, forums, messages
Re: Parsing txt file

Posted by The.Relinator on 07/30/06 04:49

the file would be an html file such as the one below,and I hope to get
the 23.324.4.034:344, 35.622.66.34:8080 from it

<html>
<head>
<title> Test </title>
</head>
<body>
random text 23.324.4.034:344
random text random text
35.622.66.34:8080 random text
</body>
</html>


Miguel Cruz wrote:
> The.Relinator@gmail.com wrote:
> > Hello, I was wondering if anyone could show me the easiest way to parse
> > an txt file for proxies, I was thinking of using regex, however I am
> > unsure about how to carry out the actual "parsing".
>
> How about if you show two or three lines of the file you are trying to
> parse, along with an explanation of what values you hope to get from it?
>
> miguel
> --
> Photos from 40 countries on 5 continents: http://travel.u.nu
> Latest photos: Malaysia; Thailand; Singapore; Spain; Morocco
> Airports of the world: http://airport.u.nu

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация