Hey Joe,

[EMAIL PROTECTED] wrote:

Hi Gurus !

I am not a Guru, i am a newb :-)

Well need your help in framing a RegExp....


I've to parse for the <form> tag in a HTML/ASP file and then when i get that i need
to get only yhe action filepath in to an array ! How do i do it ?

For Example

<form name="register" id="something" action="register/doregister.asp">

i need only the "register/doregister.asp" in an array !

my $FilePath[0] = "register/doregister.asp";


You mean like that? or you want to fetch it?

while (my $line =~ m/.*(action=.*)\"\>/ ) {
       my $FilePath = $1;
}

or something similiar

Note that i think that these might be options , but then again, i am just a newb like you :-)


Please Help.

Tried to

Thanks in Advance

No Problem
Joe

Remko


-- --

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl Dutch community for helping newcomers on the hackerscene


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to