
Chapter 14
Using Regular Expressions in
Functions
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.
Contents
•
About Regular Expressions ..................................................................................... 260
•
Basic Regular Expression Rules.............................................................................. 261
•
Multicharacter Regular Expressions ...................................................................... 263
•
Using Backreferences.............................................................................................. 265
•
Returning Matched Subexpressions ...................................................................... 266
•
Regular Expression Examples ................................................................................ 267
Содержание COLDFUSION 5-DEVELOPING
Страница 1: ...Macromedia Incorporated Developing ColdFusion Applications MacroMedia ColdFusion 5 ...
Страница 58: ...38 Chapter 3 Querying a Database ...
Страница 134: ...114 Chapter 7 Updating Your Database ...
Страница 210: ...190 Chapter 10 Reusing Code ...
Страница 232: ...212 Chapter 11 Preventing and Handling Errors ...
Страница 238: ...218 Chapter 12 Using the Application Framework ...
Страница 262: ...242 Chapter 12 Using the Application Framework ...
Страница 278: ...258 Chapter 13 Extending ColdFusion Pages with CFML Scripting ...
Страница 320: ...300 Chapter 15 Indexing and Searching Data ...
Страница 336: ...316 Chapter 16 Sending and Receiving E mail ...
Страница 374: ...354 Chapter 18 Interacting with Remote Servers ...