MACROMEDIA COLDFUSION 5-DEVELOPING Develop Manual page 282

Table of Contents

Advertisement

262
This code replaces all the spaces with *, producing this string:
Macromedia*Web*Site
The following table shows the POSIX character classes that ColdFusion supports:
Character Class
alpha
upper
lower
digit
alnum
xdigit
space
print
punct
graph
cntrl
Chapter 14 Using Regular Expressions in Functions
Matches
Matches any letter. Same as [A-Za-z].
Matches any uppercase letter. Same as [A-Z].
Matches any lowercase letter. Same as [a-z].
Matches any digit. Same as [0-9].
Matches any alphanumeric character. Same as [A-Za-z0-9].
Matches any hexadecimal digit. Same as [0-9A-Fa-f].
Matches a tab, new line, vertical tab, form feed, carriage return,
or space.
Matches any printable character.
Matches any punctuation character, that is, one of ! ' # S % & ` ( )
* + , - . / : ; < = > ? @ [ / ] ^ _ { | } ~
Matches any of the characters defined as a printable character
except those defined as part of the space character class.
Matches any character not part of the character classes [:upper:],
[:lower:], [:alpha:], [:digit:], [:punct:], [:graph:], [:print:], or [:xdigit:].

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 5

Table of Contents