Did you try using it twice?
<CFSET variables.TextFile = REReplace(variables.TextFile, ",,", ",
,","all")>
<CFSET variables.TextFile = REReplace(variables.TextFile, ",,", ",
,","all")>
or even
<CFSET variables.TextFile = REReplace(REReplace(variables.TextFile, ",,", ",
,","all"), ",,", ", ,","all")>
to make it really confusing
tom
----- Original Message -----
From: "Aidan Whitehall" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, September 17, 2000 10:35 AM
Subject: Regular expressions
> This regular expression
>
> <CFSET variables.TextFile = REReplace(variables.TextFile, ",,", ", ,",
> "all")>
>
> turns this
>
> value,,,,value
>
> into
>
> value, ,, ,value
>
> when I want it to be turned into
>
> value, , , ,value
>
> Can anyone alter it so that it works as needed?
>
>
> Thanks if you can :-)
>
> --
> Aidan Whitehall <[EMAIL PROTECTED]>
> The Net Profits Internet Services
> ColdFusion website development, domain names, hosting and tuition
> Tel: +44 (0) 1695 50050 (North West England)
>
> --------------------------------------------------------------------------
----
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.