11.10. Using Regular Expressions
Regular expressions are descriptions of textual patterns that enable string matching. You have likely used at least a simple regular expression. Perhaps the most common character in a regular expression is the wildcard character (*). So if you have ever entered *.cfm to view only the ColdFusion markup files in a directory, you have used regular expressions. You may or may not have had occasion to use regular expressions with ColdFusion functions.
Regular expressions are a useful tool, and we will cover them here briefly as the JDK 1.4 makes them easy to use; the new classes are a package under java.util.
11.10.1. Regex in CF
Using a regular expression in ColdFusion boils down to implementing one of two functions: ...
Get Java™ for ColdFusion® Developers now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.