Chapter 7: Using Regular Expressions In Functions - MACROMEDIA COLDFUSION MX 61-DEVELOPING COLDFUSION MX Develop Manual

Developing coldfusion mx applications
Table of Contents

Advertisement

Using Regular Expressions in Functions
Regular expressions let you perform string matching operations using ColdFusion functions. This
chapter describes how regular expressions work with the following functions:
REFind
REFindNoCase
REReplace
REReplaceNoCase
This chapter does not apply to regular expressions used in the
These tags use JavaScript regular expressions, which have a slightly different syntax than
ColdFusion regular expressions. For information on JavaScript regular expressions, see
27, "Building Dynamic Forms," on page
Contents
About regular expressions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
Regular expression syntax. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
Using backreferences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152
Returning matched subexpressions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
Regular expression examples. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
Types of regular expression technologies. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
cfinput
583.
CHAPTER 7
and
tags.
cftextinput
Chapter
143

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion mx

Table of Contents