You are here: Regular expressions to get userid in an html file « PHP Programming Language « IT news, forums, messages
Regular expressions to get userid in an html file

Posted by thierry on 09/30/05 21:55

Hi,

I would like to parse an html file containing several link with userid
in order to retrieve all userid and put them into an array.

Here is what my html looks like :

....r"><a href="userprofile.php?userid=346047" ><img s...

And want : array("346047", ...);

I am playing with RegEx without success.

Do you have an idea ?

Thanks a lot for your help.

thierry

 

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

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