I dont get it :) You say find the comma between double quotes but then you say 'only want to replace the comma between Matthews and Andy' which is the one between text... So if it's the first, Adrians will find it (but it doesn't need to be Regex - a simple replace for "," will do it). If it's the second this might work:
<cfset str = '"James","Matthews, Andy"'> <cfoutput> From:<br /> #str#<br /> To:<br /> #ReReplace(str, ',[^",],*', ' ', "ALL")# </cfoutput> ----- Original Message ----- From: "Andy Matthews" <[EMAIL PROTECTED]> To: "CF-Talk" <cf-talk@houseoffusion.com> Sent: Wednesday, March 01, 2006 2:50 PM Subject: RE: Quick Regex question Thanks Adrian... I'll look at that one. Appreciated. <!----------------//------ andy matthews web developer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --------------//---------> -----Original Message----- From: Adrian Lynch [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 01, 2006 8:39 AM To: CF-Talk Subject: RE: Quick Regex question <cfset str = '"James","Matthews, Andy"'> <cfoutput> From:<br /> #str#<br /> To:<br /> #REReplace(str, '","', '"|"', "ALL")# </cfoutput> -----Original Message----- From: Andy Matthews [mailto:[EMAIL PROTECTED] Sent: 01 March 2006 14:33 To: CF-Talk Subject: Quick Regex question How would I go about finding a comma, found between two double quotes? For example: "James","Matthews, Andy" I only want to replace the comma between Matthews and Andy, but not the comma between James and Matthews. <!----------------//------ andy matthews web developer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --------------//---------> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233743 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54