>'name="[^"]"' or 'name=".*?"' -- either should work.
>
>--Ben Doom
>
Thanks for you help Ben.

Unfortunately both just return a 1 - the starting position of name=".

So here's what I ended up doing - its a kludge but it works for now. I hope to 
refine it later. First to extract the <input... strings from each of the forms, 
I used a set of regex UDF's by Steven Levithan,
http://blog.stevenlevithan.com/archives/rematch-coldfusion 

That returns an array of structs consisting of the starting position of the 
search string, the length and the value.
I then loop over the array and extract the name="..." strings using a find to 
get the position and length of the name attribute's value. Then its a matter of 
using mid() to extract the name.

regards,

larry 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

Archive: http://www.houseoffusion.com/groups/RegEx/message.cfm/messageid:1096
Subscription: http://www.houseoffusion.com/groups/RegEx/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.21

Reply via email to