>Something like:
>
>(?=<input.*?)name="[^"]+"
>
>I *think* that's the correct syntax. This assumes you want to grab just
>the name="bob" part. Let me know if you need something else, or (of
>course) if that isn't working right.
>
>--Ben
>
Unfortunately it din't work. Here's an example input field
<input type="hidden" name="name" value="setPreferredPaymentMethod"/>
When I do a refindNoCase('(?=<input.*?)name="[^"]+"',str,1) - where str is the
variable holding the input field, it returns a 0.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP
Archive: http://www.houseoffusion.com/groups/RegEx/message.cfm/messageid:1091
Subscription: http://www.houseoffusion.com/groups/RegEx/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.21