View Single Post
Old 08-12-2003, 07:46 AM   #3 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,529
sde is on a distinguished road
the target page i am reading is on another web server.

can someone help me with a regular expression? i can move on with this project if i can just extract the url that the form submits to.

i need to match:

action=somepage.html
action="somepage.html"

theoretically, .. will this match it?\
Code:
\saction=[\"]?(.*)[\"][\s>]
it would have to match:
<space>action=(quotes or no quotes)(any url)(quotes or no quotes)(space or bracket)

i just made that expression as i was typing this post, so i'll go try it now.
__________________
Mike
sde is offline   Reply With Quote