Returns string with a regular expression replaced with substring in the specified scope. The search is case-insensitive.
REReplaceNoCase(string, reg_expression, substring [, scope ])
REFind,
REFindNoCase,
Replace,
ReplaceList
<!--- This example shows the use of REReplaceNoCase ---> <html> <head> <title>REReplaceNoCase Example</title> </head> <body bgcolor = silver> <H3>REReplaceNoCase Example</H3> <P>The REReplaceNoCase function returns <i>string</i> with a regular expression replaced with <i>substring</i> in the specified scope. This is a case-insensitive search. <P>REReplaceNoCase("cabaret","C|B","G","ALL"): <cfoutput>#REReplaceNoCase("cabaret","C|B","G","ALL")#</cfoutput> <P>REReplaceNoCase("cabaret","[A-Z]","G","ALL"): <cfoutput>#REReplaceNoCase("cabaret","[A-Z]","G","ALL")#</cfoutput> <P>REReplaceNoCase("I LOVE JELLIES","jell(y|ies)","cookies"): <cfoutput>#REReplaceNoCase("I LOVE JELLIES","jell(y|ies)","cookies")# </cfoutput> <P>REReplaceNoCase("I LOVE JELLY","jell(y|ies)","cookies"): <cfoutput>#REReplaceNoCase("I LOVE JELLY","jell(y|ies)","cookies")# </cfoutput> </body> </html>