myString = "DVD : Shipping(europe) : insurance > total $27.00(us funds)"; myCost = val(REreplace(myString, "^.*\$", "", "one"));
that should work, as long as the '$' before the cost is the last dollar sign in the string. barneyb --- Barney Boisvert, Senior Development Engineer AudienceCentral [EMAIL PROTECTED] voice : 360.756.8080 x12 fax : 360.647.5351 www.audiencecentral.com > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 28, 2003 2:11 PM > To: CF-Talk > Subject: calling ben doom or other 4 simple regex > > > i have a form that the user can select from a menu > say they pick this one > > DVD : Shipping(europe) : insurance > total $27.00(us funds) > > i need to strip that down to be just the dollar amount in a whole # so > that # can be used on a paypal button. > in this case 27 > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com

