• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 17. Regular Expressions in ColdFusion

Chapter 17. Regular Expressions in ColdFusion

Anyone who has ever worked with regular expressions knows what an indispensable tool they can be for parsing and manipulating text. Without them, text-processing operations such as search and replace can be very difficult to say the least. Those with experience in Unix-based languages such as Perl, awk, or Tcl are probably already familiar with regular expressions as they are used extensively in those languages. For those new to the world of regular expressions, don't worry. This chapter shows you everything you need to know to start using regular expressions in your ColdFusion applications.

ColdFusion provides you with two sets of ColdFusion functions for finding and replacing strings. REFind( ) and REFindNoCase( )search for strings within blocks of text, while REReplace( ) and REReplaceNoCase( )perform search and replace operations. Both sets of functions are extremely powerful and allow you to add a whole host of useful text-manipulation features to your ColdFusion applications.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint