Jump to content
Sign in to follow this  
p0wn3r

Html-Code + StringRegExp

Recommended Posts

p0wn3r

Hey guys,

first i had to say sorry for my bad english but i'll try my best :D.

Ok , i want to filter out the newest thread , the poster , the poster's profile Link , the time , and the area which the newest thread belong to.

Here are the infos u need for search/filter the informations out:

Newest Thread = GameNizor.cs - Einfaches Speicherauslesen mit c#

Area = Coding Allgemein

Poster = trigger3

Time = 17:50

trigger3's Profile Link = http://forum.cp-g.net/index.php?page=User&userID=17710

if my english is so bad that the english members can't understand it pls say it then i'll ask a friend for a translation :o.

so long,

p0wn3r

Here is the Link to the Html-Code (.txt)

Ps:if you want you can get a mention in the credits for helping me just say is^^! :D

Edited by p0wn3r

Share this post


Link to post
Share on other sites
TerarinK

$oElements = _IETagNameGetCollection($oIE, "ul")
For $oElement In $oElements
    If StringInStr($oElement.className, "breadCrumbs") Then
        $sID = StringReplace($oElement.outerhtml, @CRLF, "")
        $aSRE = StringRegExp($sID, '(?i)<span>(.*?)<.*?<span>(.*?)<.*?<A href="(.*?)">.*?<span>(.*?)<.*?</b>,(.*?)\)', 3)
    EndIf
Next

Edited by TerarinK

0x576520616C6C206469652C206C697665206C69666520617320696620796F75207765726520696E20746865206C617374207365636F6E642E

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×