|Perl Monk, Perl Meditation|
Parsing HTML tags with regexby kye (Initiate)
|on Oct 03, 2002 at 01:35 UTC||Need Help??|
kye has asked for the
wisdom of the Perl Monks concerning the following question:
Hello, i would like help on this problem i'm currently having.
I want to parse a page using regexs. I want to get the whole Pure-Dream Table row off http://pvpgnservers.ath.cx/ Then parse it so that a variable will end up with"126.96.36.199 Pure-Dream Europe 0d 00:40 DreamDiver PvPGN BnetD Mod 1.1.6 Linux 42 9"
Then i can split the variable and Output it in the shell This is a stats monitor script that goes to that page and grab the # of users on the Server Pure-Dream. I think i can do the splitting and assigning the result into an array. but all i'm asking is how to parse that page so that the result is 188.8.131.52 Pure-Dream Europe 0d 00:40 DreamDiver PvPGN BnetD Mod 1.1.6 Linux 42 9".
OH, and i can't use the HTML::X modules, so please don't ask me why not just use modules. I wana do this with regex so i can learn too. Thanks!
curretly i have:
THANKS in advance directed here by: STrRedWolf