This chapter describes how regular expressions work in the following ColdFusion functions:
REFind
REFindNoCase
REReplace
REReplaceNoCase
This chapter does not apply to regular expressions used in the cfinput
and cftextinput
tags. These tags use JavaScript regular expressions, which have a slightly different syntax than ColdFusion regular expressions.
For information on JavaScript regular expressions, see "Input Validation with cfform Controls," in Chapter 9. For detailed descriptions of the ColdFusion functions that use regular expressions, see the CFML Reference.