I typically do this in two steps (replace the one I want to keep (",")
with a placeholder (often the bell character)), and then do a replace
for the comma, and then replace the placeholder.

But, trying to do it your way...

rereplace(string,"([^""]),([^""])","/1/2","ALL")

This won't handle a comma at the very beginning or end of a string,
and won;t handle a comma as the first or last character between the
quotes:

Yes:
"jerry","pete, julie"

No:
"jerry","pete,"
"jerry",",pete"

On 3/1/06, Andy Matthews <[EMAIL PROTECTED]> wrote:
> 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:233741
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

Reply via email to