<cfset teststring = "Some single quotes: and one ' and two '' and three ''' and four ''''.">
<cfset teststring = reReplaceNoCase( teststring, "[']{3,}", "''", "All" )>
<cfoutput>#testString#</cfoutput>