268
Chapter 14 Using Regular Expressions in Functions
REFind ("[Uu]\.?[Ss]\.?[Aa}\.?",
Report )
The position in the variable Report of the
first occurrence of the abbreviation USA.
The letters can be in either case and the
abbreviation can have a period after any
letter.
REFindNoCase("a+c","ABCAACCDD")
4
REReplace("There is is coffee in
the the kitchen","([A-Za-z]+)
[ ]+\1","*","ALL")
There * coffee in * kitchen
REReplace(report, "<[^>]*>", "",
"All")
Removes all HTML tags from a string value
of the report variable.
Expression
Returns
Summary of Contents for COLDFUSION 5-DEVELOPING
Page 1: ...Macromedia Incorporated Developing ColdFusion Applications MacroMedia ColdFusion 5 ...
Page 58: ...38 Chapter 3 Querying a Database ...
Page 134: ...114 Chapter 7 Updating Your Database ...
Page 210: ...190 Chapter 10 Reusing Code ...
Page 232: ...212 Chapter 11 Preventing and Handling Errors ...
Page 238: ...218 Chapter 12 Using the Application Framework ...
Page 262: ...242 Chapter 12 Using the Application Framework ...
Page 278: ...258 Chapter 13 Extending ColdFusion Pages with CFML Scripting ...
Page 320: ...300 Chapter 15 Indexing and Searching Data ...
Page 336: ...316 Chapter 16 Sending and Receiving E mail ...
Page 374: ...354 Chapter 18 Interacting with Remote Servers ...