If you know this is the format of your hidden:

regexp = '<input type=hidden name=userName value="([^"]*)">';
stTmp = REFindNoCase(regexp,cfhhtp.filecontent,1,true);
if(stTmp.pos[1]){
val = Mid(cfhhtp.filecontent,stTmp.pos[2],stTmp.len[2]);
}
else{
// tag not found
}

Pascal
> -----Original Message-----
> From: Critter [mailto:[EMAIL PROTECTED]
> Sent: vrijdag 13 februari 2004 15:09
> To: CF-Talk
> Subject: cfhttp and regex...help please
>
> oi CF-Talk,!!
>
>   I am retrieving a bit of html and want to grab the value of
> a specific
>   hidden input in the .filecontent
>
>   <input type=hidden name=userName value="Critter">
>
>   any ideas or suggestions as to the best way to grab the value??
>
>   ta
>
>
>   /crit
>
>
> --
>
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-[ Help me fight to keep my son in
> the US ]-= =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-[
> http://keepmysoninthe.us ]-=
>
>
> ---
> [This E-mail scanned for viruses by Declude Virus]
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to